Tmux (terminal multiplexer)
About
Tmux 1) stands for and is a terminal multiplexer.
The documentation is in:
- or the wiki
Command
Start/Attach a session
tmux new-session -A -s sessionName
where:
- the -A flag makes new-session behave like attach-session if session-name already exists
if tmux is invoked without arguments, it will create a new session. To prevent this problem an alias may be created
alias tmux="tmux attach"
Detach
ctr-b d detaches you from the current session.
List the sessions
tmux ls