Display, set, or remove environment variables, Run a command in a modified environment.

     env [OPTION]... [NAME=VALUE]... [COMMAND [ARGS]...]


  -u NAME
       Remove variable NAME from the environment, if it was in the

       Start with an empty environment, ignoring the inherited

Arguments of the form `VARIABLE=VALUE’ set the environment variable VARIABLE to value VALUE.

VALUE can be empty (`VARIABLE=’). Setting a variable to an empty value is different from unsetting it.

The first remaining argument specifies the program name to invoke; it is searched for according to the `PATH’ environment variable. Any remaining arguments are passed as arguments to that program.

If no command name is specified following the environment specifications, the resulting environment is printed. This is like specifying a command name of `printenv’.

Related linux commands:

export – Set an environment variable.
hostname – Print or set system name
local – Create variables
logname – Print current login name
printenv – Print environment variables
readonly – Mark variables/functions as readonly
Bash shell variables
set – Manipulate shell variables and functions
shift – Shift positional parameters
shopt – Shell Options
uname – Print system information
unset – Remove variable or function names
who – Print who is currently logged in
Equivalent Windows command: SET / SETX – Display, set, or remove environment variables

Te ayudó?