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

Which ipc is the fastest in unix?

749


What are the various schemes available in ipc?

711


Explain how do you execute one program from within another?

711


What is ln(linking)?

777


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

725


What is daemon?

737


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

759


Explain about daemon?

768


Explain what is the process id for kernel process?

755


Which ipc is faster?

717


What is i-node numbers?

816


What is ipc in unix?

749


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

765


Please explain fork() system call?

731


Explain a zombie?

813