日常 Linux 命令收集 1、查看最新200行日志 tail -200f nohup.out 2、后台运行Python工程 nohup python3 manage.py runserver 0.0.0.0:8000 & 3、后台直接调试Python代码 python3 manage.py shell 4、查看进程号并杀掉进程 lsof -i:8000 kill -9 进程号 5、查看程序的进程信息 ps