What does awk stand for?
No Answer is Posted For this Question
Be the First to Post Answer
what are the different operating systems available?
what is virtual machine?
what does the command 'wc' do?
What is the difference between cat and more command?
What is merge command in unix?
How to remove a crontab file?
what is the difference between pipe(|) and tee command..
what is the command to list all files in a directory, including the hidden files in UNIX ?
In UNIX, what is the command to kill a process?
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:
What is command statement?
Can you write a command to erase all files in the current directory including all its sub-directories?