A
cd ..
Tools

Tmux Terminal Multiplexer

Manage multiple terminal sessions with tmux.

2025-09-06
tmux, terminal, productivity

Start new session

tmux

Start named session

tmux new -s mysession

List sessions

tmux ls

Attach to session

tmux attach -t mysession

Or just:

tmux a

Detach from session

Press Ctrl+b, then d

Kill session

tmux kill-session -t mysession

Split pane horizontally

Press Ctrl+b, then "

Split pane vertically

Press Ctrl+b, then %

Navigate between panes

Press Ctrl+b, then arrow keys

Close current pane

exit

Or press Ctrl+d

Create new window

Press Ctrl+b, then c

Switch to next window

Press Ctrl+b, then n

Switch to previous window

Press Ctrl+b, then p

Rename current window

Press Ctrl+b, then ,

List all windows

Press Ctrl+b, then w

Scroll mode (copy mode)

Press Ctrl+b, then [

Press q to exit scroll mode.

Resize pane

Press Ctrl+b, then hold Ctrl and use arrow keys.

Reload tmux config

tmux source-file ~/.tmux.conf

Was this useful?

Share with your team

Browse More