Explain mount and unmount command.
No Answer is Posted For this Question
Be the First to Post Answer
What does sed command do in unix?
what is the advaantage of each user having its own copy of the shell?
0 Answers BMC, CNS, DELL, Infosys,
hw will u use awk in replacing cahrs and files
How do you repeat a command in terminal?
How do you remove a directory?
What is the general format of unix command syntax?
Who invented grep?
Are you in or at the office?
use of ls command
what does a process mean?
How to display a file name which has zero bytes in size.
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: