1.

Which of the following shell(s) allows the user to run jobs in the background even when the user has logged out (without using nohup command)?(a) C(b) bash(c) Korn(d) C and bashI have been asked this question in an internship interview.This intriguing question comes from Process Handling Commands topic in portion The Process of Unix

Answer»

Right option is (d) C and bash

For explanation I would SAY: Background JOBS are terminated automatically when the user logs out. But in C shell and bash shell jobs are not terminated even after the user logs out. While this is not the case with Bourne and Korn shells. In these shells, jobs are ABORTED as SOON as the user logs out.



Discussion

No Comment Found

Related InterviewSolutions