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...

What Happens when you execute a command?

Answer Posted / amit

When command is given then unix os will fork the shell i.e
will creat a new process and will execute the command using
exec command...something like suppose you gave command "ls"
in the shell then...
fork();
exec(ls);
It will give you the result and after this the child process
will die.

Is This Answer Correct ?    17 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain linking across directories?

958


What is i-node numbers?

1157


Explain how do you execute one program from within another?

972


Please describe the initial process sequence while the system boots up?

1030


Explain about daemon?

1029


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1016


Explain the advantage of executing a process in background?

935


What are two different models of ipc differentiate both?

1061


Explain the system calls used for process management?

976


Please explain fork() system call?

993


What is ipc in unix?

1010


Which ipc is the fastest in unix?

1000


How to write the program on full-duplex communication on bidirectional?

1038


What is the very first process created by kernel?

1068


Which ipc is faster?

979