Environmental Commands The environment of your terminal is based on a number of factors, such as what shell you are running, and what customizations you have performed. In-depth customization of your shell is quite complex, and entire books are devoted to the subject. Table A.9 lists a few of the common ways to adjust your working environment. Table A.9. Environmental Commands COMMAND | GENERAL USAGE | DESCRIPTION |
---|
alias | alias NAME=VALUE | Constructs an alias used to execute custom commands. (When no parameters are specified, current aliases are displayed.) For example: alias ll='ls -l' | echo | echo TEXT | Displays the line of text entered as a parameter. (Commonly used in shell scripts.) | env | env | Displays exported environment variables. | export | export VARIABLE | Exports the specified variable for use in subsequent subshells or command environments. | set | set | Displays environment variables and shell functions. | unset | unset VARIABLE | Removes an environment variable from memory. | |