2 – Switch Command Line Interface
Groups and Commands
2-12
D000025-002 Rev. A
S
getTermWidth
Displays the terminal width for text formatting purposes.
Syntax:
Options:
Sample Output:
NOTES:
Displays the terminal width used for text formatting purposes. Note that
not all commands adhere to this setting.
prompt
Set the CLI prompt (global for all active CLI sessions).
Syntax:
Options:
Sample Output:
NOTES:
This changes the prompt for all CLI sessions. The prompt may not exceed
11 characters and is not saved across reboots. If the prompt contains a space,
asterick, comma, parenthesis or semicolon it must be enclosed with double quotes
". For example: "*a prompt*". Also, if a prompt is not accepted try to enclose it with
double quotes.
getTermWidth
None.
-> getTermWidth
Current terminal width: 80 characters.
prompt str
str
The new prompt.
prompt -> "9024->"
9024->