后台运行程序 (1)默认是写到nohup.out中nohup command &(2)如果将结果写到指定的文件nohup command > command.out 2>&1 &容易出错的地方,将最后的&写到了command后面nohup command & > command.out 2>&1