linux screenコマンドライン端末切替
727 ワード
ユーティリティコマンド
実際の操作
転載先:https://blog.51cto.com/990487026/1721544
[chunli@CentOS ~]$ screen -S test # test
[chunli@CentOS ~]$ [Ctrl+a d] # screen
[chunli@CentOS ~]$ screen -r test # test session
[chunli@CentOS ~]$ screen -ls # session
実際の操作
session
[chunli@CentOS tools]$ screen -ls
There are screens on:
25477.tes (Detached)
27098.tes (Detached)
26393.tes (Detached)
3 Sockets in /var/run/screen/S-chunli.
[chunli@CentOS tools]$ screen -r 25477
[chunli@CentOS ~]$ exit
[chunli@CentOS tools]$ screen -ls
There are screens on:
27098.tes (Detached)
26393.tes (Detached)
2 Sockets in /var/run/screen/S-chunli.
[chunli@CentOS tools]$
転載先:https://blog.51cto.com/990487026/1721544