ENV(1) | User Commands | ENV(1) |
env - set environment for command invocation
env [-i] [name=value ...] [utility [argument ...]]
env [-] [name=value ...] [utility [argument ...]]
The env command will either print a possibly modified environment or execute a utility with it.
If - or the -i option (which was introduced by POSIX.2) is given, the initial environment is cleared.
Each name=value pair is then put in the environment.
If no utility is given, the env command will print the current environment and exit.
Otherwise, utility will be executed using the remaining arguments.
The following environment variables are evaluated at the invocation of utility:
sh(1), execvp(3), environ(5)
12/6/04 | Heirloom Toolchest |