Add tmux
This commit is contained in:
31
pages/common/tmux.md
Normal file
31
pages/common/tmux.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# 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}}
|
Reference in New Issue
Block a user