Tmux Resources
Published on 04 August, 2020 by amjReference: https://linuxhandbook.com/tmux/
Command | Explanation |
---|---|
tmux | Start new session |
tmux new -s name | Start new session with name |
tmux ls | List all the sessions |
tmux kill-session -t name | Kill the mentioned session |
tmux kill-session -a | Kill all sessions except the last used session |
tmux kill-server | Kill all tmux sessions |
tmux attach -t name | Attach/enter the mentioned session |
[Ctrl +b] + d | Detach/exit the current session |
[Ctrl +b] + $ | Name or rename current session |
[Ctrl +b] + c | Create new window |
[Ctrl +b] + , | Name or rename current window |
[Ctrl +b] + w | List all windows |
[Ctrl +b] + & | Kill the current window |
[Ctrl +b] + n/p/N | Move to next/previous/Nth window |
[Ctrl +b] + % | Create horizontal pane |
[Ctrl +b] + “ | Create vertical pane |
[Ctrl +b] + arrow keys | Switching between panes |
[Ctrl +b] + space key | Toggle the layout of current pane |
[Ctrl +b] + z | Zoom into/out of the current pane |
[Ctrl +b] + x | Kill the current pane |