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?

Answers were Sorted based on User's Feedback



What Happens when you execute a command?..

Answer / 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

What Happens when you execute a command?..

Answer / basha

Hi
command execute process used by shell
it will check
1.physical memory
a)alias
b)functions
2.HDD
c)builtin commands
d)path
e)execute permission
f)system calls FORK_EXEC_EXIT
it it founds then it will execute and give the info other
wise it shows shell name and not founs.

Is This Answer Correct ?    2 Yes 2 No

What Happens when you execute a command?..

Answer / kumar

os calls exec() function to execute the command and
displays the output

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Unix IPC Interview Questions

What is a zombie?

10 Answers  


What is IPC? What are the various schemes available?

5 Answers  


What is semaphone?

5 Answers   HCL,


What are two different models of ipc differentiate both?

0 Answers  


Explain what is the process id for kernel process?

0 Answers  


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

0 Answers  


Explain how do you execute one program from within another?

0 Answers  


Explain the system calls used for process management?

0 Answers  


what is the process id for kernell process

3 Answers  


How do you execute one program from within another?

4 Answers  


Which ipc is the fastest in unix?

0 Answers  


What are the system calls used for process management?

3 Answers  


Categories