好东西
安装
apt install screen
新建会话
screen -S hello
执行命令
ping qq.com
退出会话
Ctrl + A + D
返回会话,可以看见刚刚执行的ping还在进行
screen -r hello
如果之前在没退出会话的时候,直接断开连接了,就连不上了。强制连接
screen -D -r hello
删除会话
screen -X -S hello quit
好东西
安装
apt install screen
新建会话
screen -S hello
执行命令
ping qq.com
退出会话
Ctrl + A + D
返回会话,可以看见刚刚执行的ping还在进行
screen -r hello
如果之前在没退出会话的时候,直接断开连接了,就连不上了。强制连接
screen -D -r hello
删除会话
screen -X -S hello quit