tmux
Terminal multiplexer. It allows multiple sessions with windows, panes, and more. See alsozellijandscreen. More information: https://github.com/tmux/tmux.
-
Start a new session:
tmux -
Start a new named session:
tmux new -s {{name}} -
List existing sessions:
tmux ls -
Attach to the most recently used session:
tmux attach -
Detach from the current session (inside a tmux session):
Ctrl-B d -
Create a new window (inside a tmux session):
Ctrl-B c -
Switch between sessions and windows (inside a tmux session):
Ctrl-B w -
Kill a session by name:
tmux kill-session -t {{name}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.