Table of Contents


env - run a program in a modified environment


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


Set each NAME to VALUE in the environment and run COMMAND.

-i, --ignore-environment
start with an empty environment

-u, --unset=NAME
remove variable from the environment

--help display this help and exit

output version information and exit

A mere - implies -i. If no COMMAND, print the resulting environment.


Written by Richard Mlynarik and David MacKenzie.

Reporting Bugs

Report bugs to <>.


Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <>. There is NO WARRANTY, to the extent permitted by law.

See Also

The full documentation for env is maintained as a Texinfo manual. If the info and env programs are properly installed at your site, the command

info env

should give you access to the complete manual.

Table of Contents

Privacy Policy