TMUX
TMUX is a terminal multiplier that allows you to manage multiple terminal sessions within a single terminal window or over a remote SSH connection. You can create, switch between, and detach and reattach to different terminal sessions, making it an excellent tool for working with others on an engagement from TMUX.
Here are some TMUX commands to start/attach to/kill TMUX sessions:
tmux <command> <flags>
tmux Start a TMUX Session
tmux attach Attach To The First TMUX Session
tmux ls List All TMUX Sessions
tmux new -s weelee Start a TMUX Session Named Weelee
tmux attach -t weelee Attach To The TMUX Session Named Weelee
tmux kill-session -t weelee Kill The TMUX Session Named WeeleeWhen inside of TMUX, the default key bind for TMUX commands is Ctrl + B followed by one of the following:
D Detach From The Current Session
% Split The Window Horizontally
" Split The Window Vertically
Arrow Key (↑,↓,←,→) Move Between Panes
C Create A New Window
X Close Current Pane
N Move To The Next Window
P Move To The Previous Window
: Enter The Command Line To Give Commands
? View All KeybindsIf you're like most people new to TMUX, this is a crap ton of keybinds to remember! Luckily, TMUX allows you to create custom TMUX configurations that will enable you to use your mouse to do some of the actions above.
I'll share my tmux.conf file that I partly stole from a friend but with a few changes and subjectively prettier colors :)
Last updated