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 is echo $shell?
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
What does it mean to debug a script?
What is .sh file in mac?
What does chmod do?
How would you compare the strings in a shell script?
Explain about debugging?
What is shift command in shell script?
How do I run a shell script on a mac?
What is the way to do multilevel if-else's in shell scripting?
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.
Explain about "s" permission bit in a file?
Why is the use of shell script?
How do I read a .sh file?
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command