Un-Answered Questions { Unix Commands }

what is the advaantage of each user having its own copy of the shell?

1183


hw will u use awk in replacing cahrs and files

1925


why metadb requires a seperate slice to create Solaris volume manager

1729


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 # include 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:

932


how to sort the content of the file based on numeric values

507





How to find $ai_serual resolved path by using unix

2