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
Write a script to print the first 10 elements of fibonacci series.
What is the use of break command?
What is basename in shell script?
What is inside a seashell?
Explain about stdin, stdout and stderr?
What is the best shell scripting language?
What is c in shell script?
What is ms powershell?
How does path variable work?
What shell is bin sh?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Why is it called a shell?
What can you do with powershell?
What is the first line of a shell script called?
What is shell prompt?