What is an advantage of executing a process in background?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the process id for kernel process?

576


Explain the system calls used for process management?

542


Explain the initial process sequence while the system boots up?

546


What is i-node numbers?

592


What is ln(linking)?

581






What is unix ipc?

551


Explain the advantage of executing a process in background?

509


What is the condition required for dead lock in unix system?

550


How to get or set an environment variable from a program?

539


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

586


How to write the program on full-duplex communication on bidirectional?

546


Which ipc is the fastest in unix?

546


What are the various schemes available in ipc?

553


Explain what are the system calls used for process management?

512


What are two different models of ipc differentiate both?

576