Download - Rich Simms
Transcript
CIS 90 - Lesson 12 Shell (Environment) Variables Some famous environment variables Shell Variable Description HOME Users home directory (starts here after logging in and returns with a cd command (with no arguments) LOGNAME User's username for logging in with. PATH List of directories, separated by :'s, for the Shell to search for commands (which are program files) . PS1 The prompt string. PWD Current working directory SHELL Name of the Shell program being used. TERM Type of terminal device , e.g. dumb, vt100, xterm, ansi, etc. 95