Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #875
Difficulty: Medium
The primary mission of UNIX.com is to be a shell script writing forum.
True or False?
Linux & Unix Commands - Search Man Pages

printenv(1) [bsd man page]

PRINTENV(1)						      General Commands Manual						       PRINTENV(1)

NAME
printenv - print out the environment SYNOPSIS
printenv [ name ] DESCRIPTION
Printenv prints out the values of the variables in the environment. If a name is specified, only its value is printed. If a name is specified and it is not defined in the environment, printenv returns exit status 1, else it returns status 0. SEE ALSO
sh(1), environ(7), csh(1) 3rd Berkeley Distribution April 29, 1985 PRINTENV(1)

Check Out this Related Man Page

printenv(1B)					     SunOS/BSD Compatibility Package Commands					      printenv(1B)

NAME
printenv - display environment variables currently set SYNOPSIS
/usr/ucb/printenv [variable] DESCRIPTION
printenv prints out the values of the variables in the environment. If a variable is specified, only its value is printed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
csh(1), echo(1), sh(1), stty(1), tset(1B), attributes(5), environ(5) DIAGNOSTICS
If a variable is specified and it is not defined in the environment, printenv returns an exit status of 1. SunOS 5.11 14 Sep 1992 printenv(1B)

Featured Tech Videos