Answer Posted / subbareddy
Each process in Unix has its own set of environment
variables. They're called environment variables because the
default set of such variables consists mostly of session-
wide variables used for configuration purposes.
From the point of a Unix shell though, environment
variables can be accessed the same way as any other
variable.
Common environment variables in Unix
Most well known environment variables are the following:
USER - username of a Unix user
HOME - full path to a user's home directory
TERM - terminal or terminal emulator used by a current user
PATH - list of directories searched for executable files
when you type a command in Unix shell
PWD - current directory
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a shell environment?
Why is the use of shell script?
How will you find the 99th line of a file using only tail and head command?
Explore about environment variables?
What is meant by $1 in shell script?
How do I stop script errors?
How do I run a powershell script?
What does path stand for?
What is shell scripting?
Is shell scripting difficult?
how to get part of string variable with echo command only?
Explain about the slow execution speed of shells?
Explain about return code?
write a shell script to check the failed jobs?
Is shell scripting easy to learn?