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 |
What is the significance of $#?
What is shell prompt?
In which variable prompt value is stored?
how is the oppurtunities for unix in the software
How to redirect both standard output and standard error to the same location?
What is the equivalent of a file shortcut that we have a window on a linux system?
What are the four fundamental components of every file system on linux?
What is the use of script interpreter in shell scripting?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
What language is bash?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
What are filters explain sort with all the options available?