Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ env(1) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

exec(2)

profile(4)

environ(5)

ENV(1)

NAME

env − set environment for command execution

SYNOPSIS

env [−] [−i] [ name=value ] ...  [ command [ arguments ...  ] ]

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 −i flag causes the inherited environment to be ignored completely so that the command is executed with exactly the environment specified by the arguments.  The − flag has the same effect as the −i flag. 

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

WARNING

The − flag is an obsolete option to env.  Use −i instead. 

SEE ALSO

sh(1), exec(2), profile(4), environ(5). 

EXTERNAL INFLUENCES

International Code Set Support

Single-byte character code sets are supported. 

STANDARDS CONFORMANCE

env: SVID2, XPG2, XPG3

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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