til/Applications/Essential/tmux.md

26 lines
517 B
Markdown
Raw Normal View History

2021-02-17 16:52:27 +00:00
# [tmux](https://wiki.archlinux.org/index.php/Tmux)
2020-02-17 16:59:47 +00:00
2020-06-19 10:20:01 +00:00
| Distribution | Package |
2020-05-10 17:28:17 +00:00
| ------------ | ------- |
2020-05-24 10:44:40 +00:00
| Arch Linux | `tmux` |
2021-02-17 16:52:27 +00:00
| Debian | `tmux` |
2020-05-18 05:14:45 +00:00
| Ubuntu | `tmux` |
2020-12-01 16:10:02 +00:00
| Fedora | `tmux` |
2020-06-19 10:20:01 +00:00
| Homebrew | `tmux` |
2020-05-10 17:28:17 +00:00
2020-02-17 16:59:47 +00:00
Imagine you want to run a long task in terminal, but you don't want to keep terminal open.
Run the task in tmux then detach session, after some time attach that session.
2020-02-17 17:02:52 +00:00
Show list of tmux sessions:
2020-02-17 16:59:47 +00:00
```sh
tmux ls
```
Attach to tmux session 0:
```sh
tmux attach -t 0
```