What Happens when we execute a Unix command?
Submitted by: AdministratorWhen 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Unix IPC Job Interview Questions And Answers
Top Unix IPC Questions
☺ | What is Daemon? |
☺ | Explain a zombie? |
☺ | What are the system calls used for process management: |
☺ | How to write the program on full-duplex communication on bidirectional(e.g using two pipes)? |
☺ | What is an advantage of executing a process in background? |
Top OS Unix Categories
☺ | Unix IPC Interview Questions. |
☺ | Unix General Interview Questions. |
☺ | Unix System Calls Interview Questions. |
☺ | Unix Threads Interview Questions. |