Javatpoint Logo
Javatpoint Logo

env

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.

Syntax:

env1

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

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA