printenv(1) printenv(1)
NAME
printenv - print the current environment
SYNOPSIS
printenv [argument]
DESCRIPTION
printenv takes an environment variable name as an argument
and prints only the value of that variable. If no argument
is given, it prints the values for the entire environment.
Examples of environment variable names are:
HOME pathname of user's home directory.
SHELL the shell present at login.
PATH search path for binary programs.
TERM type of terminal used.
LOGNAME the login name of the user.
TERMCAP terminal capabilities string.
EXINIT a startup list of commands read by ex, edit and
vi.
The man page on the shell you are using (csh (1), ksh (1),
or sh (1)) gives a complete list of the environment
variables that apply to you.
EXAMPLE
printenv HOME
prints the pathname of your home directory.
FILES
/bin/printenv
SEE ALSO
csh(1), ksh(1), sh(1), environ(5).
Page 1 (last mod. 1/16/87)