Format: PROMPT [(prompt)] Template: PROMPT Location: Internal
PROMPT allows you to customize the prompt string, the text printed by the Shell at the beginning of the command line. The prompt String can contain any characters, including excape sequences.
The default PROMPT is "%N. %S>"
Which displays the shell number, a period, the current directory, a right angle-bracket, and a space. Entering PROMPT without a string argument resets the prompt to this default.
The substitutions available for the (prompt) string are:
%N Displays the process number for the shell. %S Displays the current directory. %R Displays the return code for the last opeation.
A space is not automatically added to the end of the string. If you want a space between the prompt and typed-in text, place it in the string, and enclose the string in double quotes ("")
Example: