What Happens when you execute a command?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are two different models of ipc differentiate both?

594


Which ipc is the fastest in unix?

563


Explain a zombie?

633


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

594


What are the various schemes available in ipc?

563






Explain how do you execute one program from within another?

540


Explain about daemon?

574


What is the very first process created by kernel?

604


Explain linking across directories?

546


Which ipc is faster?

576


Explain what are the system calls used for process management?

522


What is ipc in unix?

572


What is unix ipc?

563


Explain the initial process sequence while the system boots up?

556


What is the full form of ipc?

600