两个可以不用停止服务就可清空nohup.out的命令 第一种:cp /dev/null nohup.out 【亲测,第一种有效,200G的文件,2~3秒清理完毕】 第二种:cat /dev/null > nohup.out todo 补充原理,及nohup删掉重建不行的原因