Problem scenario
You want a process to keep running on a Linux server. But when the user who starts it logs off, the process ends. How do you allow the user to log off but obviate the logging off from terminating (through signaling termination) of that process you want to remain running?
Solution
Have the user use the nohup command to execute the important process.
…
Continue reading “How Do You Prevent a Process from Ending Due to a User Logging Off?”