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

What is unix ipc?

983


What is daemon?

996


Explain the initial process sequence while the system boots up?

949


What is ipc port?

986


Explain a zombie?

1027


What is ln(linking)?

1014


Explain what are the system calls used for process management?

940


Explain the advantage of executing a process in background?

905


Which ipc is faster?

962


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

1018


Tell me set-user-id is related to (in unix)?

902


Explain what is the process id for kernel process?

977


Which ipc is the fastest in unix?

964


Explain linking across directories?

936


What is fork()?

1009