| date | 2022-05-13 14:00:16 +0800 | |
|---|---|---|
| author | Rustle Karl | |
| title | nohup 以忽略挂起信号的方式运行程序 | |
| url | posts/linux/tools/standard/nohup | |
| tags |
|
|
| series |
|
|
| categories |
|
|
| toc | true | |
| draft | false |
可以将程序以忽略挂起信号的方式运行起来,被运行的程序的输出信息将不会显示到终端
nohup OPTIONnohup ping www.baidu.com &nohup ping www.baidu.com >ping_baidu.txt &nohup ping www.baidu.omc >ping_baidu.txt 1>&2 &nohup ping www.baidu.com >/dev/null 1>&2 &