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.

 

EDITORName of editor used.
HOMEThe directory that you are first logged into.
SHELLThe program you run as your command-line interpreter.
TERMThe type of terminal emulation used.
PATHListing of directories searched when logging on.
MAILLocation of where the mail is stored
MANPATHLocation of your Manuals. See man command.
LOGNAMEThe login name.
TZTime 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