Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PRINTENV(1)		  BSD General Commands Manual		   PRINTENV(1)

NAME
     printenv -- print out the environment

SYNOPSIS
     printenv [name]

DESCRIPTION
     printenv prints out the names and values of the variables in the environ-
     ment, with	one name/value pair per	line.  If name is specified, only its
     value is printed.

EXIT STATUS
     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
     csh(1), sh(1), environ(7)

HISTORY
     The printenv command first	appeared in 2BSD.

AUTHORS
     Bill Joy, February	1979.

BSD			       January 15, 2012				   BSD

NAME | SYNOPSIS | DESCRIPTION | EXIT STATUS | SEE ALSO | HISTORY | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=printenv&sektion=1&manpath=OpenBSD+6.5>

home | help