Escaping characters using backslash, Tab completion, 264 tab completion – HP Secure Key Manager User Manual

Page 264

Advertising
background image

new cert request

If there are no spaces between segments of quoted and non–quoted text, the two segments are treated
as one argument. Thus, the command

new cert “new cert request”

is treated as three separate arguments:

new

cert

new cert request

Escaping characters using backslash

You can include a quote character (“ or ‘) within an argument by putting a backslash (\) in front of
it. Thus, the command

new cert ‘new cert \‘request'

is treated as three separate arguments:

new

cert

new cert ‘request

Similarly

new cert newcert\“request

is treated as three separate arguments:

new

cert

newcert“request

The backslash character can also be used to escape itself. Thus, the string “\\” is treated as just a
single backslash character. Except for the cases when it appears before a single quote (‘), double
quote (“), or a backslash (\), the backslash character behaves normally. Thus the command

new cert “new cert \\reques\t”

is treated as three separate arguments:

new

cert

new cert \reques\t

Tab completion

The tab completion feature allows you to type part of a command and use the tab key to fill in the
remainder. If the command is unambiguous, the CLI will fill in the rest of the command up until the
next point of ambiguity. For example, if you type sh, the CLI will complete the word show, as this is
the only possible ending to that word.

Because the majority of commands include multiple words, you will most likely type the beginning of
one word, press tab to complete the word, start another word, and press tab again. Tab completion
is available as long as the CLI knows you can only be referring to one word or command.

Using the Command Line Interface

264

Advertising