printenv man page on 4.4BSD

Printed from http://www.polarhome.com/service/man/?qf=printenv&af=0&tf=2&of=4.4BSD

PRINTENV(1)		  BSD General Commands Manual		   PRINTENV(1)

NAME
     printenv, env — print out the environment, set and print environment

SYNOPSIS
     printenv [name]
     env [-] [name=value ...] [command]

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.

     If a name is specified and it is not defined in the environment, printenv
     returns exit status 1, else it returns status 0.

     Env executes command after modifying the environment as specified on the
     command line.  The option name=value specifies an environmental variable,
     name, with a value of value.  The option ‘-’ causes env to completely
     ignore the environment it inherits.

     If no command is specified, env prints out the names and values of the
     variables in the environment, with one name/value pair per line.

SEE ALSO
     csh(1), sh(1), execvp(3), environ(7)

HISTORY
     The printenv command appeared in 3.0BSD.

BUGS
     Env doesn't handle commands with equal (``='') signs in their names, for
     obvious reasons.

3rd Berkeley Distribution	 June 6, 1993	     3rd Berkeley Distribution
[top]

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net