1. 默认将输出保存到nohup.out文件中 nohup command & 2.指定输出文件(outlog) nohup command >outlog 2>&1 & 2>&1意思是错误输出和标准输出输出到同一个文件中