Screen Command Note
null
codesnapLinux
19 views
Sep 05, 2024
#查看所有screen
screen -ls
#新建
screen -S <session_name>
#连接到现有session
screen -r session_name
#返回
ctrl + a + d
#删除所有
screen -ls | grep -o '[0-9]*\.[^\t]*' | while read -r line; do screen -X -S "${line}" quit; done