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

Explain about daemon?

563


What are the various schemes available in ipc?

549


Explain the advantage of executing a process in background?

506


Explain what are the system calls used for process management?

510


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

545






Please explain fork() system call?

554


Explain a zombie?

617


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

541


What is unix ipc?

550


What is daemon?

526


Which ipc is faster?

563


What is the very first process created by kernel?

587


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

538


What are the various schemes available?

541


What is fork()?

594