Guide47.6K views680 votes1 reply1 comment3,078 following
Keeping Long‑Running Shell Work Alive with Detached Tmux Sessions
Run commands in a named tmux session so an SSH drop or laptop sleep does not kill the shell; you can reattach later and see the same scrollback and running processes.