TMux
Course: 5 tools for senior engineers (Code without your mouse) - chapter 7

Ref - https://github.com/tmux/tmux/wiki
TMux stands for terminal multiplexer
It let’s you create multiple
- Sessions
- Windows
- Panes
💡 I have an alias for
tto point totmuxalias t=tmux
Common commands
- tmux
- ctrl + b + d - Detach from the session
- tmux ls
- tmux a -t 0
- tmux new -s aws
- tmux kill-session -t aws
- Pane management
- ctrl + b + % - split vertically
- ctrl + b + “ - split horizontally
- ctrl + b + arrow key - move around
- ctrl + b + q - see index of pane
- Window management
- ctrl + b + c - create new window in the same session
- ctrl + b + w - List of sesions + windows
- ctrl + b + , - Rename the window
- ctrl + b + n - Move around sequentally
- ctrl + b + number - Move to window number
number - ctrl + b + x or ctrl + b + &- kill pane
- ctrl + b + w followed by ctrl + b + x - kill window