Linux "env" Command Line Options and Examples
run a program in a modified environment

Set each NAME to VALUE in the environment and run COMMAND. Mandatory arguments to long options are mandatory for short options too.


Usage:

env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]




Command Line Options:

-i
start with an empty environment
env -i ...
-0
end each output line with NUL, not newline
env -0 ...
-u
remove variable from the environment
env -u ...
-C
change working directory to DIR
env -C ...
--help
display this help and exit
env --help ...
--version
output version information and exitA mere - implies -i. If no COMMAND, print the resulting environment.AUTHORWritten by Richard Mlynarik and David MacKenzie.REPORTING BUGSGNU coreutils online help: <http://www.gnu.org/software/coreutils/>Report env translation bugs to <http://translationproject.org/team/>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
env --version ...