Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix env command

Quick links

About env
Syntax
Examples
Related commands
Unix main page

About env

Displays your Unix environment variables.

Syntax

env

Examples

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.
MAIL Location of where the mail is stored
MANPATH Location of your Manuals. See man command.
LOGNAME The login name.
TZ Time zone of computer

Related commands

csh
ksh
logname
sh

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope