Unix IPC Question:
Download Job Interview Questions and Answers PDF
What Happens when we execute a Unix command?
Answer:
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.
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.
Download Unix Inter-Process Communication (IPC) Interview Questions And Answers
PDF
Previous Question | Next Question |
What is an advantage of executing a process in background? | What is Daemon? |