1.

Which command is used for running jobs in the background?(a) nice(b) ps(c) nohup(d) execThe question was posed to me by my college professor while I was bunking the class.My question comes from Process Handling Commands in portion The Process of Unix

Answer»

Correct CHOICE is (c) nohup

To explain I WOULD say: The nohup command when prefixed to a command allows execution of the process even after the user has logged out of the system. Background JOBS cease to run when a user logs out of the system. This happens because the shell is KILLED. To avoid this CONDITION, the nohup command can be used. For example,



Discussion

No Comment Found

Related InterviewSolutions