# nohup SCstart.sh &
[1] 311448
# Sending nohup output to nohup.out.
nohup: SCstart.sh: A file or directory in the path name does not exist.
# nohup ./SCstart.sh &
[1] 413940
# Sending nohup output to nohup.out.
nohup: ./SCstart.sh: A file or directory in the path name does not exist.
很奇怪 这个文件的权限也已经改过了 然后执行sh SCstart.sh 却是可以执行的 请各位兄弟看看 谢过了
4 个解决方案
#1
用绝对路径看看
#2
绝对路径
#3
try absolute path(beginning with '/')
#4
SCstart.sh中第一行是否有写:
#!/bin/sh
#!/bin/sh
#1
用绝对路径看看
#2
绝对路径
#3
try absolute path(beginning with '/')
#4
SCstart.sh中第一行是否有写:
#!/bin/sh
#!/bin/sh