1,885
edits
Changes
→Common Environment Variables
|-
|$SHELL
|Absolute pathname of the default shell for the current user.
|-
|$HOSTNAME
|Name of the host (computer) on which the shell is executing.
|-
|$PS1
|Primary prompt, used by the shell to request a command from the user.
|-
|$PS2
|Secondary prompt, used to request additional info from the user.
|-
|$PS3
|3rd prompt (rarely used).
|-
|$PS4
|4th prompt (rarely used).