I'm having a perplexing issue. If I try to run a script via:
root@myServer:~/dig# ./minerd.sh
I get:
-bash: ./minerd.sh: No such file or directory
If I try:
root@myServer:~/dig# ~/dig/minerd.sh
I still get:
-bash: /root/dig/minerd.sh: No such file or directory
If I do:
root@myServer:~/dig# ls ~/dig/minerd.sh
Then I get:
/root/dig/minerd.sh
So, the file is clearly there. I have also previously done chmod +x on it. But still, its not allowing me to run it for some reason. What am I doing wrong?
Edit: Even moving the file to a different name doesn't work:
root@myServer:~/dig# mv minerd.sh test.sh
root@myServer:~/dig# ./test.sh
-bash: ./test.sh: No such file or directory