C83blog

  • cpe
  • 游戏
    • mc
  • 系统技巧
    • 软件分享
    • 虚拟机
    • win
    • linux
    • 翻墙
  • 维修
  • 未分类
  • 登录
  1. 首页
  2. 系统技巧
  3. linux
  4. 正文

杀死一个已经detached的screen会话

2025年3月27日 89点热度 0人点赞 0条评论

如果想杀死一个已经detached的screen会话,可以使用以下命令:

screen -X -S [session # you want to kill] 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会话已经没有了。

标签: 暂无
最后更新:2025年3月27日

sydw

这个人很懒,什么都没留下

点赞
< 上一篇

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复
最新 热点 随机
最新 热点 随机
中兴F31Pro刷全功能后台保姆级教程 杀死一个已经detached的screen会话 ollama amd ati rx6600使用rocm 在 Termux 中修改 Ollama 的监听地址 termux初始化操作安装debian Debian下的压缩 (zip) 解压缩 (unzip) 命令 screen使用教程 NPS反制之绕过登陆验证 Debian / Ubuntu 手工添加 Swap 分区 frp toml VPS/服务器的下载测速文件 鲲鹏关闭ipv6 ssh版 鲲鹏CPE关闭ipv6 n2n添加联盟 zlt x30 切卡和adb
中兴F31Pro刷全功能后台保姆级教程
CloudFlare Workers 搭建 GDIndex – 支持谷歌云盘(个人、团队) 在 Termux 中修改 Ollama 的监听地址 termux开启ssh服务 screen使用教程 紫光展锐 写imei lr添加或者禁止权限示例 更改计算机上的远程桌面的侦听端口 EasyN2N 服务端(Supernode)附加参数 N2N启动器附加参数 NPS反制之绕过登陆验证 termux 安装linux RDP 优化操作 微软远程桌面 开启显卡加速、60FPS、USB设备重定向 IDM假序列号弹窗解决 天翼1号2021修改IMEI教程 adb 卸载预装

COPYRIGHT © 2022 C83blog. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang