会话状态:
1.detached 无人
2.Attached 有人
退出会话,会话后台执行: crtl+a+d
?
建立窗口
screen –S chaoren
crtl+a+d退出,会话后台执行
[root@mds ~]# screen?? -S chaoren
[detached]
[root@mds ~]#
?
新开窗口执行
[root@mds ~]# screen? -list
There is a screen on:
??? 30564.chaoren??? (Attached)
1 Socket in /var/run/screen/S-root.
前面退出查看
[root@mds ~]# screen? -list
There is a screen on:
??? 30730.chaoren??? (Detached)
1 Socket in /var/run/screen/S-root.
[root@mds ~]#
原文地址:http://blog.51cto.com/chaorenyong/2113956