Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ env(1) — SunOS 5.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

exec(2)

profile(4)

environ(5)

env(1)

NAME

env − obtain or alter environment variables for command execution

SYNOPSIS

env [−] [name=value] ... [command args]

AVAILABILITY

SUNWcsu

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 resulting environment is printed, one name-value pair per line. 

OPTIONS

− Ignore the environment that would otherwise be inherited from the current shell.  Restricts the environment for command to that specified by the arguments. 

name=value Set the environment variable filename to value and add it to the environment. 

SEE ALSO

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

SunOS 5.4  —  Last change: 14 Sep 1992

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