> For the complete documentation index, see [llms.txt](https://oscp.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oscp.adot8.com/cool/tmux.md).

# tmux

```
tmux ls
```

```
tmux new -s my_new_session
```

```
tmux attach -t (name of session)
```

```
tmux rename-session -t 0 mysession
```

```
tmux kill-session -t my_new_session
```

```
ctrl + b ... %    <-- Split vertical pane
```

```
ctrl + b ... "    <-- Split horizontal pane
```

```
ctrl + b ... c    <-- Add new window
```

```
ctrl + b ... (window num)   <-- Switch between windows
```

```
ctrl + b ... ,   <-- Change window name
```

```
ctrl + b ... d   <-- detach from sesison
```
