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

What is ln(linking)?

584


Explain linking across directories?

538


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

545


What is unix ipc?

553


What is fork()?

599






What is daemon?

534


Explain how do you execute one program from within another?

531


What is i-node numbers?

600


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

549


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

552


Explain the system calls used for process management?

544


Please describe the initial process sequence while the system boots up?

575


What are the various schemes available?

545


Explain what are the system calls used for process management?

514


Max relax-able permission value with out giving write permission to others?

570