Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

fork in unix ?

Answer Posted / navraj rana

it is used to create a child process for a parent process the pid of the child process is sent to the parent process

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use nslookup?

1063


What does awk stand for?

1046


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 # include 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:

2221


What is command substitution?

1297


Which command can you use to find the currently running process in unix server?

1088


Describe the zip/unzip command using gzip.

1127


What happens when we execute a unix command?

1107


What is the unix command to confirm a remote host is alive or not?

1166


What is merge command in unix?

1461


How many unix commands are there?

1119


What is the command to find maximum memory taking process on the server?

1174


What is the general format of unix command syntax?

1830


What is rmdir command?

1060


How do I use grep to find a file?

1086


Name the unix command to find how many days the server has been up.

1134