tldr/pages/common/tmux.md

32 lines
343 B
Markdown
Raw Normal View History

2014-11-02 08:34:19 +00:00
# tmux
> Multiplex several virtual consoles.
2014-11-02 08:34:19 +00:00
- Start a new tmux session:
2014-11-02 08:34:19 +00:00
`tmux`
- Start a new named tmux session:
2014-11-02 08:34:19 +00:00
`tmux new -s {{name}}`
- List sessions:
2014-11-02 08:34:19 +00:00
`tmux ls`
- Attach to a session:
2014-11-02 08:34:19 +00:00
`tmux a`
- Attach to a named session:
2014-11-02 08:34:19 +00:00
`tmux a -t {{name}}`
2014-11-02 08:34:19 +00:00
- Detach from session:
2014-11-02 08:34:19 +00:00
`ctrl+b d`
- Kill session:
2014-11-02 08:34:19 +00:00
`tmux kill-session -t {{name}}`