TMUX Cheatsheet


1 min read

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


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: