使用nohup不产生log文件方法

思想

无法阻止nohup产生日志可以将其定向到空文件实现

实现

$ nohup xxx >/dev/null 2>&1 &

猜你喜欢

转载自www.cnblogs.com/azureology/p/12345291.html