command line tools

Run a command under a different environment

Today we have a simple tip of the shell. Are there applications or scripts that you use that require different environment variables, such as a different PATH or EDITOR? Then meet the env command. env allows you to run a program in a restricted environment with custom variables or so that no “dirty” variables are left around.

Source:

Valid XHTML 1.0 Strict

Syndicate content