mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 20:50:26 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
43
tldr/tmux
Normal file
43
tldr/tmux
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tmux
|
||||
|
||||
> Terminal multiplexer.
|
||||
> It allows multiple sessions with windows, panes, and more.
|
||||
> See also: `zellij`, `screen`.
|
||||
> 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}}`
|
||||
Reference in New Issue
Block a user