Skip to content

Instantly share code, notes, and snippets.

@memandip
Created March 7, 2021 06:10
Show Gist options
  • Save memandip/09d73c31f86952eb1fa1dc7981c5f7db to your computer and use it in GitHub Desktop.
Save memandip/09d73c31f86952eb1fa1dc7981c5f7db to your computer and use it in GitHub Desktop.
TMUX essentials
Prefix for the following commands: Ctrl + B
1) New window: "+ C"
2) Switch window : "+ (window number)"
3) Next window: "+ n"
4) Previous window: "+ p"
5) Rename window: "+ ,"
6) View windows: "+ w"
7) Horizontal split: "+ %"
8) Vertical split: "+ ""
9) Detatch from session: "+ d"
10) Close session: "+ :kill-session" (tmux command)
Terminal Commands:
1) tmux ls : view running sessions
2) tmux attach-session -t <session_number>: attach terminal to a session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment