mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-12 11:42:20 -04:00
50 lines
384 B
Markdown
50 lines
384 B
Markdown
## Basic Tmux Usage
|
|
|
|
<br>
|
|
|
|
* Starting a new (named session):
|
|
|
|
```
|
|
tmux new -s my_session
|
|
```
|
|
|
|
<br>
|
|
|
|
|
|
* Detach the session with `Ctrl-b + d`.
|
|
|
|
<br>
|
|
|
|
|
|
* List sessions with:
|
|
|
|
```
|
|
tmux ls
|
|
```
|
|
|
|
<br>
|
|
|
|
|
|
* Re-attach a session:
|
|
|
|
```
|
|
tmux attach-session -t my_session
|
|
```
|
|
|
|
<br>
|
|
|
|
|
|
* Reload a tmux config file:
|
|
|
|
```
|
|
tmux source-file ~/.tmux.conf
|
|
```
|
|
|
|
<br>
|
|
|
|
|
|
* Kill tmux
|
|
|
|
```
|
|
tmux kill-server
|
|
```
|