怎么样
$killall screen
更新
这里只是为了说明我的机器中的线路,我测试了这个:
blake ~ $ screen -ls There are screens on: 10250.pts-0.web01 (Detached) 446.pts-0.web01 (Detached) 599.pts-0.web01 (Detached) 526.pts-0.web01 (Detached) 4 Sockets in /tmp/screens/S-blake. blake ~ $ killall screen blake ~ $ screen -ls No Sockets found in /tmp/screens/S-blake.