screen在使用的时候,进不去的情况下,使用下面如下代码,就可以啦
[root@localhost ~]# screen -ls
There are screens on:
(Detached)
(Detached)
2 Sockets in /var/run/screen/S-root.
[root@localhost ~]# screen -X -S 4588 quit
[root@localhost ~]# screen -ls
There is a screen on:
(Detached)
1 Socket in /var/run/screen/S-root.