后盾运行程序

后台运行程序(1)默认是写到nohup.out中nohup command &(2)如果将结果写到指定的文件nohup command comma

后台运行程序
(1)默认是写到nohup.out中
nohup command &
(2)如果将结果写到指定的文件
nohup command > command.out 2>&1 &

容易出错的地方,将最后的&写到了command后面
nohup command & > command.out 2>&1