关于shell nohup &不起作用的总结

nohup 和&配合使用

具体使用不做介绍

参考:https://www.jianshu.com/p/93a45927f013

这里说一下在shell脚本中 nohup &不起作用 一直输出在控制台的情况

脚本:

 

执行效果:

 

将命令传入变量,然后调用变量

修改脚本:

执行效果:

 

 

 

posted @ 2020-04-07 23:55  七寸青衫  阅读(1861)  评论(0编辑  收藏  举报
loading: { rebound: { tension: 16, }, spinner: { id: 'spinner', radius: 90, } }