Javatpoint Logo
Javatpoint Logo


The env command is a shell command used to display and manipulate environment variables. It is used to either list down environment variables or run a program in a modified environment.

With the help of env, commands can be added or removed, you can assign new values to the existing variables.

env without options

When env command runs without option, it prints variables of current environment.



Look at the above snapshot, it displays current environment variables with their values.

Next TopicLinux du

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA