mirror of https://github.com/CrimsonTome/tldr.git
36 lines
415 B
Markdown
36 lines
415 B
Markdown
# tmux
|
|
|
|
> Multiplex several virtual consoles.
|
|
|
|
- Start a new tmux session:
|
|
|
|
`tmux`
|
|
|
|
- Start a new named tmux session:
|
|
|
|
`tmux new -s {{name}}`
|
|
|
|
- List sessions:
|
|
|
|
`tmux ls`
|
|
|
|
- Attach to a session:
|
|
|
|
`tmux a`
|
|
|
|
- Attach to a named session:
|
|
|
|
`tmux a -t {{name}}`
|
|
|
|
- Detach from session:
|
|
|
|
`Ctrl + B, D`
|
|
|
|
- Kill session:
|
|
|
|
`tmux kill-session -t {{name}}`
|
|
|
|
- Kill session when attached:
|
|
|
|
`Ctrl + B, x (then hit 'y' for yes)`
|