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

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

539


Explain about daemon?

567


Explain the initial process sequence while the system boots up?

546


Explain what are the system calls used for process management?

512


What is daemon?

530






Explain the system calls used for process management?

542


Explain how do you execute one program from within another?

529


What are the various schemes available?

543


What is the condition required for dead lock in unix system?

550


Explain the advantage of executing a process in background?

509


Explain a zombie?

621


What are the various schemes available in ipc?

553


Explain what is the process id for kernel process?

576


What is the full form of ipc?

578


What is unix ipc?

551