What do chown command do?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of find command in unix?
What does the metacharacter mean?
Can a process kill itself in UNIX/or in its various versions?
How to add content of one file into another file at the beginning
what is the advaantage of each user having its own copy of the shell?
0 Answers BMC, CNS, DELL, Infosys,
Where can I get the free download of Unix by Yeswant Kanetkar?
What Command will remove a Directory in UNIX?
what do you understand by 'building block primitive'?
Give command that will make the file "run.sh" executable?
Is grep faster than awk?
How do you know about running processes of a particular user?
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: