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 what is the process id for kernel process?

756


What is ln(linking)?

779


Which ipc is the fastest in unix?

749


Explain what are the system calls used for process management?

697


What is ipc in unix?

750


Explain a zombie?

813


Explain the system calls used for process management?

719


Explain the initial process sequence while the system boots up?

710


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

727


What is ipc port?

740


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

765


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

759


What is the very first process created by kernel?

814


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

725


What is daemon?

738