让shell脚本在后台运行的两种方法

1、nohup 使用nohup,其中test.sh为所执行的脚本,out.txt为输出信息的地方。 nohup sh test.sh>out.txt &web 2、sh 使用sh,其中test.sh为所执行的脚本,out.txt为输出信息的地方。 sh test.sh>&out.txt &svg
相关文章
相关标签/搜索