mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
add screen and tmux
This commit is contained in:
parent
b8350d6d62
commit
c704f484a2
17
README.md
17
README.md
@ -1496,29 +1496,46 @@ q -d "," "select c3,c4,c5 from /path/to/file.txt where c3='foo' and c5='boo'"
|
||||
```
|
||||
|
||||
##### Sreen and tmux
|
||||
create session and attach
|
||||
```bash
|
||||
screen
|
||||
or
|
||||
tmux
|
||||
```
|
||||
|
||||
create detached session foo
|
||||
```bash
|
||||
screen -S foo -d -m
|
||||
or
|
||||
tmux new -s foo -d
|
||||
```
|
||||
|
||||
list sessions
|
||||
```bash
|
||||
screen -ls
|
||||
or
|
||||
tmux ls
|
||||
```
|
||||
|
||||
attach
|
||||
```bash
|
||||
screen -r
|
||||
or
|
||||
tmux attach
|
||||
```
|
||||
|
||||
attach to session foo
|
||||
```bash
|
||||
or
|
||||
screen -r foo
|
||||
tmux attach -t foo
|
||||
```
|
||||
kill session foo
|
||||
```bash
|
||||
screen -r foo -X quit
|
||||
or
|
||||
tmux kill-session -t foo
|
||||
```
|
||||
|
||||
## System
|
||||
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]
|
||||
|
Loading…
Reference in New Issue
Block a user