What does the metacharacter mean?
No Answer is Posted For this Question
Be the First to Post Answer
what is the difference between npar and vpar in HP-UX?
What is the use of finger command?
which command is used to stop a running process in unix?
How does a user get the current date, time in UNIX?
Describe the zip/unzip command using gzip.
How do you find files in Unix?
How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.
3 Answers Amazon, MBA, Syntel, TCS, Unisys,
How can we use grep command in unix?
Give the command for finding the current date.
Explain how to use grep command to list find the records of a file containing 10 different strings?
what is virtual machine?
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: