一、nohup
nohup /test.sh &之后可以通过执行jobs命令来查看后台运行的程序
二、
sh /test.sh &
让脚本在后台运行的方式
原文:https://www.cnblogs.com/new-journey/p/10654293.html