Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
No Answer is Posted For this Question
Be the First to Post Answer
what does a process mean?
what is the significance of "su" command?
what is the difference between pipe(|) and tee command..
What is in grep command?
How do you move a process which is running background to foreground?
what is difference between unix and linux?
How can i know my Filesystem and its current usage in my prod UNIX system?
what does the 'tee' command do?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
Differentiate cmp command from diff command.
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: