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

Which ipc is the fastest in unix?

1049


Explain the advantage of executing a process in background?

978


What is unix ipc?

1067


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

962


Explain how do you execute one program from within another?

1019


Explain linking across directories?

1009


What is the full form of ipc?

1185


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

1092


Which ipc is faster?

1037


What is ln(linking)?

1084


What is daemon?

1085


Explain the system calls used for process management?

1025


Max relax-able permission value with out giving write permission to others?

1073


What are the various schemes available?

1006


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

1074