Linux 中Nohup 和&用法
来源:互联网 发布:台湾庄园知乎 编辑:程序博客网 时间:2024/06/06 01:02
下面这个命令,中间有设计到nohup和&符号,这里特别说明一下这两个符号的含义。
nohup ./bin/falcon-agent -c config/cfg.json 1>null 2>&1 &
&
用途:放在启动参数后面表示设置此进程为后台进程。
语法:Command [ Arg … ] &
描述:命令Command在后台运行
nohup
用途:no hang up,就是不挂起的意思。不挂断地运行命令。
语法:nohup Command [ Arg … ]
描述:运行由 Command 参数和任何相关的 Arg 参数指定的命令,忽略所有挂断信号。
nohup Command [ Arg … ][ &] 即表示在后台不间断的运行Command
“1>null”将标准输出1全部放到null文件,也就是清空.
阅读全文
0 0
- Linux 中Nohup 和&用法
- linux中nohup命令的用法
- linux nohup和tail-f命令用法
- Linux-nohup的用法
- Linux的nohup用法
- linux nohup 命令用法详解
- LINUX 命令nohup的用法
- linux命令 - nohup命令用法
- Unix/Linux中nohup命令
- Linux中nohup命令介绍
- linux的nohup命令的用法
- linux的nohup命令的用法
- linux的nohup命令的用法
- linux下nohup命令的用法
- linux的nohup命令的用法
- linux的nohup命令的用法
- linux的nohup命令的用法
- linux的nohup命令的用法
- HotSpot的垃圾回收算法实现
- scala 随笔(2) scala构造函数 this
- 大数据量高并发的数据库优化详解
- try catch处理异常处理
- Go语言打印调用堆栈
- Linux 中Nohup 和&用法
- 杭电1278漂亮面料的设计(模拟题)
- django 实践所需 数据库操作
- 正则表达式函数exec、match、search
- STL源码剖析——空间配置器
- 【红黑树】【资料】
- js操作cookie及 json对象和json字符串的相互转换
- 洛阳hp,上课的第一天
- windows下使用tensorflow简单实现CNN