CLI Guide

Valid / Invalid DTK Command Line Example
valid
syscfg -l=filename --option1 --
option2
syscfg -l=/tmp/myfile.txt --floppy
--bootseq
invalid
syscfg -i=filename --option1 --
option2
syscfg -i=/tmp/myfile.txt --floppy
--bootseq
valid
syscfg --option=argument bmcoption
--option1= argument
syscfg --embnic=on pcp --
hostname=webserver
NOTE: Do not combine options that specify report or set actions in a command line instance.
Other Delimiters
The following table lists the other delimiters:
Table 5. Other delimiters
Delimiter Example Description
White space (space or tab)
syscfg --option=argument1
argument2
considers
argument1
and
argument2
as two arguments.
A string surrounded by double quotation
marks regardless of the white space
contained within, is interpreted as a single
SYSCFG argument.
syscfg --option="argument1
argument2"
considers
argument1
and
argument2
a single argument.
A double quotation mark preceded by a
backslash (\") is interpreted as a literal
double quotation mark (").
syscfg --option="\"argument"
considers "argument as the argument.
Backslashes are interpreted literally, unless
they immediately precede a double
quotation mark. If an even number of
backslashes are followed by a double
quotation mark, then one backslash (\) is
taken for every pair of backslashes (\\),
and the double quotation mark (") is
interpreted as a string delimiter.
syscfg --option="\\"argument"
considers \ and argument as two
arguments.
If an odd number of backslashes are
followed by a double quotation mark, then
one backslash (\) is taken for every pair
of backslashes (\\) and the double
quotation mark is interpreted as an escape
sequence by the remaining backslash,
causing a literal double quotation mark (")
to be placed in the SYSCFG argument.
syscfg --option="\\
\"argument"
considers \ "argument as the argument.
Read And Write Commands
Options can report a certain value or set of values based on the presence of an argument. These read or write actions are implied in
the DTK command line arguments. The get, read, set, or write commands, for example, are not required.
19