env |
---|
|
env [ -i ] [ var=value ... ] [ command_name [ arguments ... ] ] |
---|
|
To provide fine-grained control over the environment inherited by command_name when it's run by env. |
---|
|
-i |
---|
Ignore the inherited environment, using only the variables and values given on the command line. |
---|
|
With no command_name, print the names and values of all variables in the environment. Otherwise, use the variable assignments on the command line to modify the inherited environment, before invoking command_name. With the -i option, env ignores the inherited environment completely and uses only the supplied variables and values. |
---|
|
When printing, env does not necessarily quote environment variable values correctly for re-inputting to the shell. Use export -p for that. |
---|