TMUX Cheatsheet

AJ's photo
AJ
·Nov 22, 2021·

1 min read

A quick cheatsheet for TMUX commands that I can never remember.

tmux

yum -y install tmux

Out of tmux

new session

tmux new

new session with name

tmux new -s sessionname

show sessions

tmux ls

attach to session

tmux attach-session -t 0

Go to last session

tmux a #

in tmux

split session window " for horizontal % for vertical

ctrl-b {"|%}

Detach from session

ctrl-b d

Change window in session

ctrl+b [arrow key]

More at source: hackernoon.com/a-gentle-introduction-to-tmu..