Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Install
- ```bash
- sudo apt-get install tmux -y
- ```
- ### Using tmux
- new session
- ```bash
- tmux
- ```
- attach to session
- ```bash
- tmux a $ID
- ```
- list session
- ```bash
- tmux ls
- ```
- kill session
- ```bash
- tmux kill-session -t $sessionID
- ```
- ### Shortcuts
- Ctrl+b c Create a new window (with shell) <BR/>
- Ctrl+b w Choose window from a list <BR/>
- Ctrl+b 0 Switch to window 0 (by number ) <BR/>
- Ctrl+b , Rename the current window <BR/>
- Ctrl+b % Split current pane horizontally into two panes <BR/>
- Ctrl+b " Split current pane vertically into two panes <BR/>
- Ctrl+b o Go to the next pane <BR/>
- Ctrl+b ; Toggle between the current and previous pane <BR/>
- Ctrl+b x Close the current pane <BR/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement