How do I use grep to search for a file?
No Answer is Posted For this Question
Be the First to Post Answer
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 the difference between pipe and xargs?
what is difference between unix and linux?
Differentiate cat command from more command.
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Write a command to display a file’s contents in various formats?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
What is .sh file?
which command is used to change group?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
What do you mean by zambie process?
What is the difference between a hard link and a soft link in Unix?