1、安装screen
yum install -y screen
2、新建一个screen
screen -S xiedi
这样会新开一个窗口,然后执行命令即可
python manage.py runserver 0.0.0.0:9000
3、重开一个窗口,列出所有screen进程,如下
\[root@docker ~\]\# screen -ls
There are screens on:
3029.xiedi (Attached)
4、如果想链接上这个会话,执行命令即可
screen -r 3029
标签:执行命令,3029,python,0.0,screen,xiedi,后台 From: https://www.cnblogs.com/walkersss/p/17431390.html