VAR="This is the value of the variable."
export VAR
export VAR="This is the value of the variable."
echo $VAR
HOME | - set to your home directory. |
LOGNAME | - set to your login name. |
OS_TYPE | - set to your operating system (this is different for the different UNIX/LINUX flavors). In some systems the variable is OS. |
PATH | - set to a list of directories where commands can be found (more on this later). |
SHELL | - set to your login shell. |
TERM | - set to your terminal type. |