Q
Problem solve Get help with specific problems with your technologies, process and projects.

Environmental variables in Unix

What are environmental variables in Unix?
Environment variables in Unix and Linux are used to establish your current working session. Normally these variables are put in your .profile, though you can also put these into your current shell by exporting the variable. Global variables that you want all users to have should be put in /etc/profile. Many programs, such as Oracle, look for certain variables to be set -- and need certain directories in their path ($PATH). Without a properly configured .profile, your application will not start.

"env" is a command that you would use to see your current environment variables.

Dig Deeper on Linux servers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close