tmux
tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
My Personal Use Cases
Here are some of my uses, but yours may vary from different exposure to others like youtube or your friends:
- Persist running commands in an ssh connection (yes, now I know there are many ways of accomplishing this without tmux)
- Spliting the terminal window into multiple sections (tmux panes)
- Using tmux windows similar to how I use desktop workspaces (prominant feature in many tiling window managers)
What you may notice that's missing is tmux sessions, and that's because I never really saw a reason to bring anothor layer of depth above tmux windows. So in my tutorial, you won't see much configuration related to multiple sessions.