LFCS 58 🐧 Persistent Sessions — nohup, screen, tmux
A shell session ends when the terminal closes or the SSH connection drops. Every process that was started from that shell receives a SIGHUP (hang-up signal), and unless the process is specifically designed to survive it, it terminates. This is the default behavior, and for a quick command it is correct. For a long-running task—a…