Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. ### Install
  2. ```bash
  3. sudo apt-get install tmux -y
  4. ```
  5.  
  6. ### Using tmux
  7. new session
  8. ```bash
  9. tmux
  10. ```
  11.  
  12. attach to session
  13. ```bash
  14. tmux a $ID
  15. ```
  16.  
  17. list session
  18. ```bash
  19. tmux ls
  20. ```
  21.  
  22. kill session
  23. ```bash
  24. tmux kill-session -t $sessionID
  25. ```
  26.  
  27. ### Shortcuts
  28.  
  29. Ctrl+b c Create a new window (with shell) <BR/>
  30. Ctrl+b w Choose window from a list <BR/>
  31. Ctrl+b 0 Switch to window 0 (by number ) <BR/>
  32. Ctrl+b , Rename the current window <BR/>
  33. Ctrl+b % Split current pane horizontally into two panes <BR/>
  34. Ctrl+b " Split current pane vertically into two panes <BR/>
  35. Ctrl+b o Go to the next pane <BR/>
  36. Ctrl+b ; Toggle between the current and previous pane <BR/>
  37. Ctrl+b x Close the current pane <BR/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement