What is an Environment Variable?
Answers were Sorted based on User's Feedback
Answer / sumit
Environment variables are a set of dynamic named values
that can affect the way running processes will behave on a
computer.
| Is This Answer Correct ? | 23 Yes | 2 No |
Answer / chakri
c shell sopports environmenal variable. different types of
environment variables are HOME,PATH,TERM,SHELL.....ETC.,
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / usama el far
a set of variables which affect the commands execution and
hold many values it need.some times we need to change it /
some times by scripts / programs
| Is This Answer Correct ? | 2 Yes | 0 No |
Environment variable are a set of variable and you can
change the value anytime or you pass any value given
Variable.
| Is This Answer Correct ? | 8 Yes | 7 No |
what is the cmd to display the last exit status in UNIX?
What command will bring user back to their home directory in UNIX?
what is the use of nice command?
How to redirect standard error to a file?
what is the command to list all files in a directory, including the hidden files in UNIX ?
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
How can we use grep command in unix?
What is a shell in Unix? Name some common Unix shells.
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:
how to unzip the contents of the gzip file
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
What is the difference between a hard link and a soft link in Unix?