How do you grep recursively?
No Answer is Posted For this Question
Be the First to Post Answer
What is the command to view process running?
What is the function of grep command in unix?
In Unix file permissions what does the second field denotes?
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
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 does a user get the current date, time in UNIX?
What difference between cmp and diff commands?
How do you repeat a command in terminal?
How do you move or rename a file or directory?
What is the command to find maximum memory taking process on the server?
what does a process mean?
What is awk used for?