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
Why is used in shell scripting?
What is the crontab?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What does sh mean?
How many fields are present in a crontab file and what does each field specify?
What is web script?
What language is bash?
What is the use of "$?" Sign in shell script?
How to calculate the number of passed arguments?
Write down the syntax of "for " loop
What are the 3 standard streams in linux?
What does the sh command do?
What are the disadvantages of shell scripting?
Explain about echo command?
Explain about the exit command?