linux上 nohup command >/dev/null 2>&1 &的含义
2017-02-28 10:10
465 查看
nohup command >/dev/null 2>&1 & 到底什么意思?
1.nohup
1.nohup
nohup 的用途就是让提交的命令忽略 hangup 信号,那什么叫做hangup信号?这里给出了答案 https://www.tutorialspoint.com/unix/unix-signals-traps.htm[/code]
2.command这个就是你要执行的命令
3.>重定向操作符,定向把命令执行结果输出
4./dev/null一个空设备
5.2>&1linux上0:标准输入,1:标准输出,2:标准错误 意思就是:把错误信息定向到前一个(中间&的作用)打开的文件当中去
6.&让程序在后台以job的形式进行
相关文章推荐
- Linux后台运行 nohup command >/dev/null 2>&1 &
- nohup /dev/null 2>&1 含义详解(转)
- linux命令后面常见的>/dev/null 和 2>&1 的含义
- nohup /dev/null 2>&1 含义详解
- LINUX命令后面常见的>/DEV/NULL 和 2>&1 的含义
- nohup /dev/null 2>&1 含义详解
- linux的/dev/null 2>&1 &含义
- nohup command>/dev/null 2>&1 详解
- Linux 1>/dev/null 2>&1的含义
- nohup /dev/null 2>&1 含义详解
- 1>/dev/null 2>&1的含义
- Linux Shell >/dev/null 2>&1解释
- 1>/dev/null 2>&1的含义
- 1>/dev/null 2>&1的含义
- find -iname "*" | xargs grep network_error 2>/dev/null命令中2>/dev/null的含义
- [转载]>/dev/null 2>&1 含义
- 1>/dev/null 2>&1的含义
- 1>/dev/null 2>&1的含义
- 1>/dev/null 2>&1的含义
- Linux Shell 1>/dev/null 2>&1 含义