我是 Ubuntu 9.04 用户。给定屏幕会话列表,如下所示:
9076.pts-30.moe (09/27/2009 11:30:08 PM) (Attached)
8778.pts-24.moe (09/27/2009 11:29:46 PM) (Detached)
8674.pts-0.moe (09/27/2009 11:29:25 PM) (Attached)
22649.pts-28.moe (09/27/2009 11:51:46 AM) (Detached)
22543.pts-24.moe (09/27/2009 11:50:56 AM) (Detached)
22228.pts-16.moe (09/27/2009 11:49:59 AM) (Detached)
如何根据时间标准关闭多个屏幕?例如,在 12:00 PM 之前启动的所有屏幕。我通常会输入:
screen -dr 22649.pts-28.moe
exit
...
并手动关闭每一个,但这很乏味。提前致谢。