View the Most Wanted LQ Wiki articles.    
LinuxQuestions.org > Linux Wiki > Env(command)

From LQWiki

Jump to: navigation, search

env changes the environment variables passed to a subordinate command.

Under some shells (bash for instance) there are builtins to do the same thing.

Provided by

Most (all?) Linux distributions that have this at all incorporate it from the GNU Coreutils: and use its man page

Related Commands

These all relate to running commands in an altered context.

  • chroot - Confine the program to "jail".
  • nice - Change priority.
  • nohup - Protect from hangups (modem) or network outages.
  • stdbuf - Change buffering of standard I/O filestreams.
  • su - Change user
  • timeout - Limit the time.
  • gdb - Run under control of a debugger
  • script - Capture all program output
  • valgrind - Validate program behavior
  • strace - Create a log of system calls.

See also

  • printenv - Show the environment variables.

This article is a stub and needs to be finished. Plunge forward and help it grow!



Personal tools
Sponsored Links