env
Unix command utility / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Env (shell)?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
env
is a shell command for Unix and Unix-like operating systems. It is used to either print a list of environment variables or run another utility in an altered environment without having to modify the currently existing environment. Using env
, variables may be added or removed, and existing variables may be changed by assigning new values to them.
This article is about the Unix shell command. For the viral gene, see Env (gene). For other uses, see Env (disambiguation).
Quick Facts Operating system, Platform ...
Operating system | Unix, Unix-like, Inferno |
---|---|
Platform | Cross-platform |
Type | Command |
License | coreutils: GPLv3+ |
Close
In practice, env
has another common use. It is often used by shell scripts to launch the correct interpreter. In this usage, the environment is typically not changed.