![]() |
![]()
| ![]() |
![]()
NAMEenv - set environment for command invocation SYNOPSISenv [-i] [name=value ...] [utility [argument ...]] env [-] [name=value ...] [utility [argument ...]] DESCRIPTIONThe 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. ENVIRONMENT VARIABLESThe following environment variables are evaluated at the invocation of utility:
SEE ALSOsh(1), execvp(3), environ(5)
|