= Terminal multiplexers • GNU screen • tmux • Byobu • zellij • 3mux • tmuxinator == tmux https://tmuxcheatsheet.com/ tmux new-session -A -s tmux detach d tmux ls tmux attach-session -t == Byobu https://gist.github.com/devhero/7b9a7281db0ac4ba683f F2 Create new window F3/F4 Move to previous/next window F6 Detach from session and then logout Shift-F6 Detach from session but do not logout == screen === shortcuts https://www.gnu.org/software/screen/manual/screen.html#Default-Key-Bindings === commands screen -S $SESSION create a new GNU screen session with a name and attach to it screen -ls list all active GNU screen sessions screen -d detach from the session (does not terminate it) screen -r $SESSION reattach to an existing session (error if this session does not exist) === workflow • Log in • Run "screen -S compilation" • Work. Initiate your compilation. • Optionally run "screen -d" to continue work at a different shell • Your internet connection gets lost • You log in to your VM again once the internet is available again • Run "screen -r compilation" to see how your work is doing • Exit your bash and screen session with Ctrl-d