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
How do I run a .sh file?
What are the different communication commands available in the shell?
How do I run a script from command prompt?
What are the four fundamental components of every file system on linux?
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.
Where is bash history?
What is ms powershell?
What is the fastest scripting language?
Is powershell a language?
What can you do with powershell?
What is inside a seashell?
Write the syntax for "if" conditionals in linux?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
Why is used in shell scripting?
What is the conditional statement in shell scripting?