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.


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

Command Line Options:

start with an empty environment
env -i ...
end each output line with NUL, not newline
env -0 ...
remove variable from the environment
env -u ...
change working directory to DIR
env -C ...
display this help and exit
env --help ...
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: <>Report env translation bugs to <>COPYRIGHTCopyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
env --version ...