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
Written by Pablo
Related protips
2 Responses

Also Ctrl+b "
will split pane horizontally.
over 1 year ago
·

Yep! But this command doesn't work in all cases :/
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#