安装:
sudo apt-get install screen

使用:
1.执行如下命令,创建screen窗口。
screen -S [$Name]
注:[$Name]用来标注screen窗口用途。

2.执行如下命令,列出screen窗口。
screen -ls

3.当需要运行脚本、执行程序时,在命令前添加screen即可。

4.若需要继续工作时,登录实例,然后执行如下命令,恢复会话即可。
screen -r -d PID


参考:
https://help.aliyun.com/knowledge_detail/42523.html?spm=5176.2000002.0.0.616d7b0fuIjmqa
https://blog.csdn.net/floraruo/article/details/105334616

相关文章:

  • 2021-12-24
  • 2022-12-23
  • 2022-01-07
  • 2022-01-17
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-04-20
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
相关资源
相似解决方案