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
- 确保shell脚本是
#!/bin/sh开头 - 更改脚本文件的权限:
chmod +x ./for.sh
nohup: ignoring input and appending output to ‘nohup.out’

学而不思则罔,思而不学则殆!

浙公网安备 33010602011771号