The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?
Using the 'nohup' command allows 'dbmaint' to continue running even after the user logs out. The 'nohup' command stands for 'no hangup,' which means the process is immune to hangups and will continue running in the background. Adding '&' runs it in the background, making 'nohup dbmaint &' the correct way to achieve this.
The correct answer is nohup dbmaint & The reason for this is nohup (“no hangup”) detaches dbmaint from the user who started it, and the & at the end tells the console to run dbmaint in the background.
Answer: C
Correct answer is nohup dbmaint &