Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 738 Bytes

File metadata and controls

39 lines (29 loc) · 738 Bytes
date 2022-05-13 14:00:16 +0800
author Rustle Karl
title nohup 以忽略挂起信号的方式运行程序
url posts/linux/tools/standard/nohup
tags
Linux
series
Linux 学习笔记
categories
学习笔记
toc true
draft false

可以将程序以忽略挂起信号的方式运行起来,被运行的程序的输出信息将不会显示到终端

格式

nohup OPTION

示例

nohup 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 &