$
LinuxML
首页
命令分类
常用命令
首页
»
进程管理
»
nohup
nohup
nohup 命令 - 在后台运行命令,忽略挂断信号
在后台运行命令,忽略挂断信号
进程管理
⌨️
命令语法
nohup 命令 [参数...] &
⚙️
常用参数
输出重定向到nohup.out
💡
实战示例
$ nohup python script.py &
后台运行Python脚本
$ nohup ./long_task.sh > output.log 2>&1 &
后台运行并重定向输出
🔗
相关命令
service
timeout
batch
nice
watch
systemctl
xargs
atrm
↑