ps aux | grep -i manage
kill -9 端口号
nohup python manage.py runserver 0.0.0.0:9999 &
ohup(no hang up)用途:不挂断的运行命令
&用途:在后台运行
nohup /root/start.sh &
在shell中回车后提示:
[~]$ appending output to nohup.out
ps aux | grep -i manage
kill -9 端口号
nohup python manage.py runserver 0.0.0.0:9999 &
ohup(no hang up)用途:不挂断的运行命令
&用途:在后台运行
nohup /root/start.sh &
在shell中回车后提示:
[~]$ appending output to nohup.out