6
【笔记】Screen学习笔记
source link: https://en.loli.fj.cn/2022/12/10/Screen%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【笔记】Screen学习笔记
2022-12-10
Screen学习笔记
开启一个新会话
screen
查看所有会话
screen -ls
恢复一个会话
- 恢复一个已离线或在线的会话
- 如果有多个会话,必须指定
tty.host
或pid.tty.host
;如果只有一个会话,无需指定
screen -x
screen -x tty.host
screen -x pid.tty.host
恢复一个已离线的会话
- 如果有多个会话,必须指定
tty.host
或pid.tty.host
;如果只有一个会话,无需指定
screen -r
screen -r tty.host
screen -r pid.tty.host
结束一个会话
- 如果有多个会话,必须指定
tty.host
或pid.tty.host
;如果只有一个会话,无需指定
screen -d
screen -d tty.host
screen -d pid.tty.host
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK