1.1.1 Specifying a command
Specify a command as follows:
The parameters marked (1) are called options. All the parameters marked (2) are called arguments.
You can specify arguments as follows:
-
Specify an option or options first, and then specify an arbitrary name or names, such as a unit name. If you specify an arbitrary name before an option, the system handles all specified arguments as arbitrary names.
-
You can specify multiple options in any sequence. The same option, however, cannot appear more than once.
-
You can specify multiple values for a single option by using commas to delimit them.
-
You can collectively specify several options having no values.
Example:
You can specify -abc instead of -a-b-c.
-
You cannot collectively specify several two-byte options having no values.
Example:
You cannot specify -a-ab as -aab or -cd -cf as -cdcf.
-
You can specify a value for the last option of those collectively specified.
Example:
In -abc xyz, xyz specifies the value of c.
-
If you specify a value for an option having no value, the system handles that option and all subsequent arguments as arbitrary names.
-
Specifying an unexpected option results in an error.
-
See 1.1.2 Specifying a unit name for notes on specifying a unit name for an arbitrary name.
-
See 1.1.4 Specifying wildcard characters for notes on specifying wildcard characters for an arbitrary name.
-
To specify the first arbitrary name (arbitrary-name-X in the above example) with a string starting with "-", enter -- arbitrary-name-X. (The system handles the string following -- as an arbitrary name.) The specification of the second and subsequent arbitrary names does not require --.
Example:
To specify two arbitrary names (-jobA and -jobB) in series, enter -- -jobA -jobB.
-
You can use regular expressions for an arbitrary name.
-
Specifying a number of arbitrary names exceeding the expected maximum results in an error.
-
Characters specified as arguments are case sensitive. Be careful about the case.