What is an advantage of executing a process in background?
Answers were Sorted based on User's Feedback
Answer / vishal
there r two main advantage :
1.you can use console to execute your command.
2.More importantlly if one is connected through remote
console and as there is no controlling terminal attached to
background process even if your teminal get disconnected
the process continues (with help of nohup in shell script
or by using setsid in C)
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / jolly
If a process is running in background then the same process
will continue to run on the Unix server without any
communication with the front console.
the console can be reused.
| Is This Answer Correct ? | 13 Yes | 1 No |
How to know whether the message queue is empty or not.
Predict the output of the following program code main() { fork(); printf("Hello World!"); }
Explain linking across directories?
What are the various schemes available in ipc?
What are the system calls used for process management:
What is i-node numbers?
What is ln(linking)?
What are various IDs associated with a process?
How can you get or set an environment variable from a program?
About ln(linking)
Explain fork() system call?
set-user-id is related to (in unix)