因为screen命令很常用并且在我的很多文章中都用到了它,每次重写一遍教程太麻烦了,所以出了这一篇
#CentOS
sudo yum install screen
#Debian/Ubuntu
sudo apt-get install screen
#常用命令
screen -S xxx #新建一个screen进程
screen -ls #列出已有的screen进程
screen -r xxx #连接到已有的screen进程
exit #退出并关闭screen进程
#CTRL + A然后按D退出但不关闭screen进程,还可以再次连接

Comments NOTHING