Who invented grep?
No Answer is Posted For this Question
Be the First to Post Answer
what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......
What does awk stand for?
Will rm -r* removes hidden files?
their is a file1,file2 and i want to append file1 data to file2?
What is the use of awk command in unix?
What command would users use to see what file one page at a time in UNIX?
what is the use of wild cards?
Which command will print your home directory on screen?
How do I search for text in vi?
What is command substitution?
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 can we "forked" process in UNIX? How then recognize in any of the branches we?