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 are two different models of ipc differentiate both?

1046


What is fork()?

1030


What is i-node numbers?

1148


How to get or set an environment variable from a program?

948


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

913


Explain the system calls used for process management?

967


Explain the initial process sequence while the system boots up?

959


Please explain fork() system call?

988


What is daemon?

1018


Explain linking across directories?

948


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

1034


What is ipc port?

1002


What are the various schemes available?

958


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

1005


What is ln(linking)?

1027