Tmux cheat Sheet & Quick Reference

tmux lets you keep things running persistently on servers, so you can disconnect and connect as needed without interrupting tasks that are in progress.

start new

tmux

start new with session name

tmux new -s session_name

list session

tmux ls

Attach to named

tmux a -t session_name

Kill session

tmux kill-session -t session_name

Rename session

Ctrl+b $

Detach from session

Ctrl+b d

Create Window

Ctrl+b c

Rename current windows

Ctrl+b ,

Close current windows

Ctrl+b &

Previous windows

Ctrl+b p

Next windows

Ctrl+b n

Switch/select window by number

Ctrl+b 0...9

Toggle last active window

Ctrl+b l

Toggle last active pane

Ctrl+b ;

Split pane with horizontal layout

Ctrl+b %

Move the current pane left

Ctrl+b {

Toggle between pane layout

Ctrl+b Spacebar

Switch to next pane

Ctrl+b o

© 2019. All rights reserved.

Powered by NightHawk