Команда env
Displays your Unix environment variables.
env
env - Typing env at the prompt would give something similar to.
HOME=/computerhope/public_html
PATH=/usr/local/bin:
LOGNAME=admin
HZ=100
TERM=vt100
TZ=MST7MDT
SHELL=/bin/csh
MAIL=/var/mail/computerhope
_INIT_UTS_PLATFORM=SUNW,SPARCstation-10
_INIT_UTS_RELEASE=5.7
_INIT_UTS_SYSNAME=SunOS
_INIT_UTS_VERSION=Generic_106541-08
EDITOR=pico -t
OPENWINHOME=/usr/openwin
MANPATH=/usr/man:/usr/local/man:/usr/openwin/man
LD_LIBRARY_PATH=/usr/local/lib:/usr/openwin/lib
PAGER=more
Above is a wide variety of information. Below is brief description of each of the more commonly listed environment variables.
| EDITOR | Name of editor used. |
| HOME | The directory that you are first logged into. |
| SHELL | The program you run as your command-line interpreter. |
| TERM | The type of terminal emulation used. |
| PATH | Listing of directories searched when logging on. |
| Location of where the mail is stored | |
| MANPATH | Location of your Manuals. See man command. |
| LOGNAME | The login name. |
| TZ | Time zone of computer |