我正在阅读ln
手册页,并遇到了以下大纲。
ln [-Ffhinsv] source_file ... target_dir
上面的符号...
是什么意思?
答案 0 :(得分:10)
这意味着可重复的论证(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.
根据手册页,像这样调用ln
将为目标目录中的所有源文件创建链接,例如ln file1 file2 file3 target-dir/
。