Screen
- screen -S yourname -> create named yournamesession = C-a c
- screen -ls -> list all session = C-a w
- screen -r yourname -> return to yourname session
- screen -d yourname -> detach session = C-a d
- screen -d -r yourname -> deattach current session and return to yourname session
- screen -x share screen
- screen -S sandy -X screen ping www.baidu.com create a new screen called sandy and run command pin
example
- screen -S go // create a screen called go
- press ctrl+a and press d to detach the screen
- screen -ls to list all detached screen
- screen -r go // return to go screen