1.3 Command input format

The command input format is as follows:

command-name [options...]

Each item is explained below. In the examples, $ represents the command prompt, and cmd represents the command name.

Organization of this section
(1) Command name
(2) Arguments

(1) Command name

Specify the file name of the command to be executed.

If you execute a command by specifying a path that contains a space character, you must enclose the entire path in double quotation marks (").

In Windows
  • Example of an invalid specification: $ C:\Program Files\Hitachi\Cosminexus\CC\server\bin\cmd
  • Example of a valid specification: $ "C:\Program Files\Hitachi\Cosminexus\CC\server\bin\cmd"
In UNIX
  • Example of an invalid specification: $ /opt/program path/bin/command
  • Example of a valid specification: $ "/opt/program path/bin/command"

(2) Arguments

The arguments consist of options. The input format and specification rules for options are shown below.

(a) Option input format

An option is a character string that begins with a hyphen (-). The input formats for options include a format in which no option argument is specified and a format in which one option argument is specified.

Format when no option arguments are specified
$ cmd -option-flag
Format for specifying option arguments
$ cmd -option-flag<space or tab>option-arguments
Legend:
  • option-flag
    Single-byte alphanumeric characters. Alphabetic characters are case sensitive.
  • option-arguments
    Arguments for the option flag.
(b) Option specification rules