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 happens when you type ls?
How do I run a shell script on a mac?
Why do we use shell scripting?
Where is bash history?
What lives in a shell?
Tell something about the super block in shell scripting?
What does echo mean in scripting?
What does .sh file contain?
What can scripts do?
How do I start a shell script?
What are the different commands available to check the disk usage?
What is computer cli?
What is eval in shell script?
What is shell geeksforgeeks?
What does $@ mean bash?