Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ env(C) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(C)

exec(S)

profile(F)

environ(M)


     ENV(C)                                     UNIX System V



     Name
          env - sets environment for command execution


     Syntax
          env [-] [ name=value ] ...  [ command [args] ]


     Description
          env obtains the current environment, modifies  it  according
          to  its  arguments,  then  executes  the  command  with  the
          modified environment.  Arguments of the form name=value  are
          merged  into the inherited environment before the command is
          executed.  The - flag causes the inherited environment to be
          ignored  completely,  so  that  the command is executed with
          exactly the environment specified by the arguments.

          If no command is specified, the environment is printed,  one
          name-value pair per line.


     See Also
          sh(C), exec(S), profile(F), environ(M)


     Notes
          The old printenv command was replaced in and System V by the
          env command.  The current printenv is a link to env.


     Standards Conformance
          env is conformant with:

          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 8/28/89)                                  ENV(C)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026