18.1 Customizing the Command Line Prompt

You can change the prompt displayed on the command line interface. This allows you to customize the prompt so you can more easily recognize which machine you are connected to when you are using a switchbox. This allows a limited number of variables, such as time and version information. To view information about customizing the prompt, enter the command:

set prompt?

The syntax of the command is as follows:

Set the appliance Prompt
 syntax:  set prompt = prompt
          set the prompt using $ parameters
          Default prompt is set to $G
 parameters:
   <prompt> can contain the following special characters
  $B      : Build Number
  $D      : Current Date
  $G      : ’>’
  $L      : ’<’
  $N      : Appliance DNS Alias
  $T      : Current time (24H format)
  $S      : ’ ’
  $V      : Version
  $_      : Carriage Return
  $$      : ’$’
  Any other $ combination will delete the $
  example: set prompt = $T$S$V$S($B)$_$G
          gives the following prompt
          ’16:55:03 iChain 2.3 (2.2.217d)’
          ’>’

This prompt can contain any other character. For example, if you set the prompt as:

Set prompt=iChain$G

it displays as iChain>

This prompt is only shown on an unlocked machine. On a locked machine, > is still the default. This is to protect information on the locked machine.

This setting is not available from the Proxy Administration Tool. It is stored in the .nas file.