Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

execve(2)

profil(2)

environ(5V)

ENV(1)  —  USER COMMANDS

NAME

env − obtain or alter environment variables for command execution

SYNOPSIS

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

DESCRIPTION

env obtains the current environment, modifies it according to its arguments, and executes the command with the modified environment that results. 

If no command is specified, the resulting environment is displayed. 

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 name to value and add it to the environment. 

SEE ALSO

sh(1), execve(2), profil(2), environ(5V)

Sun Release 4.0  —  Last change: 9 September 1987

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