screen 关闭会话,不进的情况下


screen在使用的时候,进不去的情况下,使用下面如下代码,就可以啦


[root@localhost ~]# screen -ls
There are screens on:
9975.pts-0.localhost (Detached)
4588.pts-3.localhost (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:
9975.pts-0.localhost (Detached)
1 Socket in /var/run/screen/S-root.


猜你喜欢

转载自blog.csdn.net/qq_38072531/article/details/78653413