Answer Posted / 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 |
Post New Answer View All Answers
What are two different models of ipc differentiate both?
What is the very first process created by kernel?
Which ipc is faster?
What are the various schemes available?
How to get or set an environment variable from a program?
Tell me set-user-id is related to (in unix)?
Explain what are the system calls used for process management?
Which ipc is the fastest in unix?
What is fork()?
Explain a zombie?
What is ipc in unix?
Please explain fork() system call?
Explain the initial process sequence while the system boots up?
How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?
What is daemon?