mirror of https://github.com/CrimsonTome/tldr.git
618 B
618 B
tmux
Terminal multiplexer. It allows multiple sessions with windows, panes, and more. More information: https://github.com/tmux/tmux.
- Start a new session:
tmux
- Start a new named session:
tmux new-session -s {{name}}
- List existing sessions:
tmux ls
- Attach to the most recently used session:
tmux attach-session
- Attach to a named session:
tmux attach-session -t {{name}}
- Detach from the current session (with prefix Ctrl-B):
Ctrl-B d
- Kill a session by name:
tmux kill-session -t {{name}}
- Kill the current session (with prefix Ctrl-B):
Ctrl-B :kill-session<Enter>