Linux usage in screen

screen

How many view the current window

[root@python ~]# screen -ls
There are screens on:
        20706.khz       (Attached)
        20679.khz       (Attached)
        20453.khz       (Attached)
        20143.khz       (Detached)
        16993.pts-2.python      (Attached)
5 Sockets in /var/run/screen/S-root.

Create a new window and enter

screen -S session_name 

The end of this window

  screen -S session_name -X quit

Switch to a window

screen -r session_name

Two windows synchronize the same window

screen -x session_name 连接到离线模式的会话(多窗口同步演示)

Check all job, deleting can not be used

screen -wipe

Published 257 original articles · won praise 223 · views 320 000 +

Guess you like

Origin blog.csdn.net/csdn_kou/article/details/103263420