Learn tmux one keystroke at a time. What is tmux?
It's a game that teaches tmux in a practice terminal: start sessions, split panes, move between windows, scroll with copy mode, detach and reattach. Turn on JavaScript to play.
Press Ctrl+b, let go, then the next key.
tmux runs many terminals inside one window, and keeps them running after you close it.
Every shortcut starts with the prefix: press Ctrl+b, let go, then one more key.
brew install tmux
sudo apt install tmux
sudo dnf install tmux
Then type tmux in any terminal. Or learn it here first, where nothing can break.
tmux