What Happens when you execute a command?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / kumar
os calls exec() function to execute the command and
displays the output
| Is This Answer Correct ? | 0 Yes | 1 No |
Max relaxable permisssion value with out giving write permission to others?
What is i-node numbers?
Explain linking across directories?
What is the full form of ipc?
Tell me set-user-id is related to (in unix)?
what is the condition required for dead lock in unix sustem ?
Explain a zombie?
what is the process id for kernell process
Explain the system calls used for process management?
What are various IDs associated with a process?
what is the process id for kernel process?
8 Answers IBM, ITI, Military Engineer Services, Remo, TATA,
What is a Daemon?