tmux is a terminal multiplexer which enables easy switching between multiple programs running in one terminal, detach them (keep running in the background) and reattach them to a different terminal.
tmux
tmux new -s session-name
ctrl + b, $
tmux list-sessions
tmux ls
tmux attach
tmux a
tmux attach -t session-name
tmux a -t session-name
ctrl + b, s
ctrl + b, %
ctrl + b, "
ctrl + z
ctrl + d
ctrl + c
ctrl + p
ctrl + n
ctrl + &
