Erle Robotics Unix Introduction Gitbook Free

Summary

ENVIRONMENT variables

Variable Meaning
USER your login name
HOME the path name of your home directory
HOST the name of the computer you are using
ARCH the architecture of the computers processor
DISPLAY the name of the computer screen to display X windows
PRINTER the default printer to send print jobs
PATH the directories the shell should search to find a command
OSTYPE The value of this is the current operating system you are using

Shell variables

Variable Meaning
cwd your current working directory
home the path name of your home directory
path the directories the shell should search to find a command
prompt the text string used to prompt for interactive commands shell your login shell

Other commands

Command Meaning
printenv pipe less show all values of environmment variables
set pipe less show all values of shell variables