xref: /original-bsd/usr.bin/printenv/printenv.1 (revision 4c01ad61)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)printenv.1 6.1 (Berkeley) 04/29/85

PRINTENV 1 ""
C
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)