As you can see, this command will show all your current environment variables.
| EDITOR | | Tells the default editor to use |
| HISTSIZE | | Set by the shell program, usually bash. |
| HISTFILESIZE | | Set by the shell program, usually bash. The number of lines the user's $HOME/.bash_history file can contain as a maximum. |
| HOME | | A user's login directory. |
| HOSTNAME | | The network name of the host (this machine) set by the rc.sysinit script using either the /etc/HOSTNAME file or the /etc/sysconfig/network file. In modern versions of Redhat the file /etc/sysconfig/network is used. |
| HOSTTYPE | | Set by the kernel, and defines the architecture of the machine. |
| LANG | | The name of a language to use. |
| LOGNAME | | The user's login name as set by the login program. |
| MAIL | | Set by the login program. |
| PAGER | | Used by the man command to specify the command to use to display man pages.
Ex: PAGER=less
export PAGER //exports it to the environment, Only need to use this once |
| PATH | | The directory prefixes used to search for programs and files. Set by the shell program, scripts, and the user. This is set by login at startup, then may be modified by shell scripts. |
| PS1 | | Defines the main shell prompt |
| PWD | | The current working directory. Set by the shell program such as bash. |
| SHELL | | The name of the user's login shell. Set by the login program. |
| TERM | | The terminal types for which output is to be prepared. Set by the getty program and preserved by the login program.. |
| USER | | The user's name as set by the shell program. |