[Next] [Previous] [Up] [Top] [Contents] [Index]
Chapter 2: Getting Started on a UNIX System
After you log in successfully, you will get a prompt. The default UNIX prompt usually indicates your default shell (see Chapter 4 for information on shells). Typically, a % indicates the C shell (csh) and a $ indicates the Bourne shell (sh). The Fermi files set the prompt to the machine name, which is most likely what you'll see.
You can change your default prompt by altering your start-up files.
In the C shell, include in your .login file:
set prompt='newprompt '
In the Bourne shell, you need to set the value of the keyword shell variable PS1. This is just a variable that is declared and initialized by the shell at start-up. Include in your .profile file:
export PS1; PS1="newprompt "