我正在阅读ln手册页并遇到以下大纲.
ln [-Ffhinsv] source_file ... target_dir
Run Code Online (Sandbox Code Playgroud)
...上面的符号是什么意思?
Lev*_*sky 13
这意味着一个可重复的参数(source_file).
来自man man:
The following conventions apply to the SYNOPSIS section and can be used
as a guide in other sections.
bold text type exactly as shown.
italic text replace with appropriate argument.
[-abc] any or all arguments within [ ] are optional.
-a|-b options delimited by | cannot be used together.
argument ... argument is repeatable.
[expression] ... entire expression within [ ] is repeatable.
Run Code Online (Sandbox Code Playgroud)
根据手册页,这样调用ln将为目标目录中的所有源文件创建链接,例如ln file1 file2 file3 target-dir/.