CommunityData:Tmux: Difference between revisions
From CommunityData
mNo edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
* Switch to window ''N'': '''Ctrl-b N''' (from ''within'' tmux) | * Switch to window ''N'': '''Ctrl-b N''' (from ''within'' tmux) | ||
* Disconnect from tmux: '''Ctrl-b d''' (from ''within'' tmux) | * Disconnect from tmux: '''Ctrl-b d''' (from ''within'' tmux) | ||
* To | * To shut down tmux close without disconnecting. Reattach and repeat to make sure every window is closed. | ||
<br> | <br> | ||
More elaborate [https://alvinalexander.com/downloads/linux/tmux-cheat-sheet.pdf cheat-sheets like this one (pdf)] are available elsewhere. | More elaborate [https://alvinalexander.com/downloads/linux/tmux-cheat-sheet.pdf cheat-sheets like this one (pdf)] are available elsewhere. |
Revision as of 19:57, 9 May 2023
tmux lets you switch between windows (listed in the green bar at the bottom) here are several useful commands:
- Starts a new tmux: tmux (at the command line)
- Connect to an existing tmux: tmux attach (at the command line)
- Create a new window: Ctrl-b c (from within tmux)
- Switch to window N: Ctrl-b N (from within tmux)
- Disconnect from tmux: Ctrl-b d (from within tmux)
- To shut down tmux close without disconnecting. Reattach and repeat to make sure every window is closed.
More elaborate cheat-sheets like this one (pdf) are available elsewhere.