What do know about tee command?
No Answer is Posted For this Question
Be the First to Post Answer
What is unix command?
What will the following command do?
What is the difference between AWK and SED commands? Plz give example and explain...
How do you stop a running process?
If we want to see first 35 lines of a file which command we have to use?
How do you find files in Unix?
What is ‘ps’ command for?
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:
distinguish between user mode and kernel mode?
How do I run a bash script?
what is the default signal kill in unix?
what are processor execution levels and priorities?