Copyright (C) 2000-2012 |
GNU Info (sh-utils.info)env invocation`env': Run a command in a modified environment ============================================== `env' runs a command with a modified environment. Synopses: env [OPTION]... [NAME=VALUE]... [COMMAND [ARGS]...] env Arguments of the form `VARIABLE=VALUE' set the environment variable VARIABLE to value VALUE. VALUE may 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'. The program accepts the following options. Also see Note: Common options. `-u NAME' `--unset=NAME' Remove variable NAME from the environment, if it was in the environment. `-' `-i' `--ignore-environment' Start with an empty environment, ignoring the inherited environment. automatically generated by info2www version 1.2.2.9 |