首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

后盾运行程序

2012-08-28 
后台运行程序(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

热点排行