What are environment variables?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ashu
Environment variables are a set of dynamic values that can
affect the way running processes will behave on a computer.
EX:
PATH,HOME,%TEMP%, date etc are environmental variables,
| Is This Answer Correct ? | 1 Yes | 1 No |
how can you execute the shell scripts?
What is another name for a bash shell script that you might see?
Which shell is the best?
Explain about login shell?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
How do I open the shell prompt?
What is Path variable?What is its use?
How to change our default shell?
Is shell scripting difficult?
What is the use of .sh file?
What does sh mean?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again