8wll6q
Last Updated: February 25, 2016
·
440
· pr3ssh

Tmux basic commands

Basics

tmux # Run tmux

Windows

Ctrl+b c # Create a new window
Ctrl+b , # Rename current window
Ctrl+b p # Move to previous window
Ctrl+b n # Move to next window
Ctrl+b w # List windows

Panes

Ctrl+b % # Split pane vertically
Ctrl+b : split-window # Split pane horizontally

Sessions

tmux new -s session-name # Create new session
Ctrl+b d # Detach session
tmux ls # List sessions
tmux attach -t session_name # Attach session
tmux kill-session -t session_name # Delete detached session

2 Responses
Add your response

22616

Also Ctrl+b " will split pane horizontally.

over 1 year ago ·
22619

Yep! But this command doesn't work in all cases :/

over 1 year ago ·