screens删除后台session

Published on Aug. 22, 2023, 12:10 p.m.

列出screens:

screen -list or screen -ls

Output:

There is a screen on:
23536.pts-0.wdzee (10/04/2012 08:40:45 AM) (Detached)
1 Socket in /var/run/screen/S-root.

删除 screen session:

screen -S 23536 -X quit

参考
https://stackoverflow.com/questions/1509677/kill-detached-screen-session

Tags: