QuestionQ36

VerifiedShells and Shell Scripting

The command dbmaint & was used to start dbmaint in the background. However, dbmaint terminates after the user logs out of the system. Which alternative invocation lets dbmaint keep running even after the user who started it logs out?

Explanation

nohup runs a command with hangup signals ignored. Using nohup dbmaint & both protects dbmaint from the logout-related SIGHUP and places it in the background.

Community Discussion

No comments yet. Be the first to start the discussion!