如何杀死一个已经detached的screen会话?
2016-05-23 11:29
387 查看
如果向杀死一个已经detached的screen会话,可以使用以下命令:
举例如下:
可以看到,4588会话已经没有了
附:linux screen 命令详解 :http://www.cnblogs.com/mchina/archive/2013/01/30/2880680.html
screen -X -S seesion-id quit
举例如下:
[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.
可以看到,4588会话已经没有了
附:linux screen 命令详解 :http://www.cnblogs.com/mchina/archive/2013/01/30/2880680.html
相关文章推荐
- Git的分支与合并
- 交叉编译minicom for ARM
- 贝叶斯
- Container View(sb-容器视图)
- DOM对象与jquery对象有什么不同
- Android UI布局与控件(二)
- 一颗成熟的 树
- Asp.net Mvc 自定义Session (二)
- Apache启动错误:could not bind to address[::]:443
- 设计模式C++实现(1)——工厂模式
- 学习途中的风景 2016年 5月
- apache 安装配置 以及php-fpm结合apache配置
- apache https
- 让PPT宽屏显示
- Apache OpenOffice 与 LibreOffice 之间的抉择
- iOS 数据本地存取
- 分层开发之MySchool
- android studio 快捷键(二)
- Apache OpenOffice 与 LibreOffice 之间的抉择
- c#之委托所有方法