nohup: ignoring input and appending output to ‘nohup.out’ nohup: failed to run command ‘/for.sh’: Permission denied


参考: https://unix.stackexchange.com/questions/386545/nohup-failed-to-run-command-permission-denied

nohup: failed to run command ‘/for.sh’: Permission denied

  1. 确保shell脚本是 #!/bin/sh 开头
  2. 更改脚本文件的权限: chmod +x ./for.sh

nohup: ignoring input and appending output to ‘nohup.out’


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM