Tag Info

Hot answers tagged


When you type ./scriptname.sh the ./ says "only look in this folder for scriptname.sh". And you are doing that, in a folder where scriptname.sh does not exist, so the shell returns "No such file or directory". The fact that your restart.sh script is calling ./shutdown.sh on your behalf makes no difference, you're still in a folder where shutdown.sh doesn't ...

Only top voted, non community-wiki answers of a minimum length are eligible