1. []:内的内容意思是:可写可不写 例如:/home下就一个list 文件,使用ls --help中的 Usage: ls [OPTION]... [FILE]...2. {}:那就必须要在{}内给出的选择里选一个。3. <>:表示必选命令行语法字符在命令行语法中,某些字符与格式有着特殊的意义与含义。 本文档中的命令行语法使用以下字符格式:
square brackets []
square brackets ([]) indicate that the elements (parameters, values, or information) are optional . You can select one or more entries, or you can uncheck them. Do not enter the square brackets themselves into the command line.
Example: [Global options], [source arguments], [destination arguments]
Angle brackets < >
The angle brackets (< >) indicate that the elements inside (parameters, values, or information) are required . You need to replace the text inside the angle brackets with the appropriate information. Do not enter the angle brackets themselves into the command line.
Example:-F <file Name>,-printer <printer name>,-repeat <months> &l T;days>
Italic body
Italic text indicates the information that you must provide through the appropriate values. It is an option or parameter that you want to replace with a value.
Example:-sessionpassword Session password,-f <file Name>,-printer <prin ter name>
Pipeline |
The pipe symbol (vertical bar) means "or", which represents an option within an element. If two parameters are separated by a pipe symbol, you can select the element to the left of the delimiter, or select the element to the right of the delimiter. You cannot select two elements at a time in a command use. In square brackets, these options are optional. In angle brackets, you need at least one option.
Example:-ca_backup [-custom|-rotation|-gfsrotation],-excludeday <sun| mon| tue| wed| thu| fri| Sat>,-runjob <start|stop>
Ellipsis CA ARCserve Backup ...
An ellipsis consisting of three periods (...) means "et cetera", meaning that the preceding element (parameter, value, or information) can be repeated multiple times on the command line.
Example:-jobid <job id1, Job id2, Job ID3,... >, [-exitcode <exit code 1>, <exit code2>, <exit code3 > ...]
Basic command Format angle brackets bracket