tmux:tldr:96714
The command tmux
refers to a terminal multiplexer, which is a tool that allows you to manage multiple terminal sessions within a single terminal window. It provides the ability to create, control, and switch between multiple terminal sessions, or "panes", as well as detach and reattach sessions, even if the terminal connection is severed.
When you run the tmux
command, it starts a new session or attaches to an existing session if one is available. By default, it opens a new terminal window with a single pane. From there, you can perform various actions and command combinations to create splits, navigate between panes, and manage sessions.
Some commonly used commands within tmux
include:
Ctrl+b %
- Creates a new vertical split (pane) within the current session.Ctrl+b "
- Creates a new horizontal split (pane) within the current session.Ctrl+b arrow keys
- Moves between panes in different directions.Ctrl+b c
- Creates a new window within the current session.Ctrl+b n
- Moves to the next window in the session.Ctrl+b p
- Moves to the previous window in the session.Ctrl+b d
- Detaches the current session, leaving it running in the background.tmux list-sessions
- Lists all available tmux sessions.tmux attach-session -t [session number]
- Reattaches a detached session.
These are just a few examples of the commands and key combinations that you can utilize in tmux
. It provides a powerful and flexible environment for managing and organizing multiple terminal sessions efficiently.
Questions that are answered by this command:
- when I start tmux is bachrc sourced?