well since im a total noob with linux and i just test out things i cant get this to work .
mangosd is the file i want to be auto executed when its not running.
PuTTy is telling me this :
am i totally blind or is it something i just missed.
the file is 100% there
Code:
#!/bin/bash
for (( ; ; ))
do
echo "Executing... ";
/run/bin/mangosd
donePuTTy is telling me this :
Code:
mangos@server:~$ ./servercheck.sh
-bash: ./servercheck.sh: /bin/bash^M: bad interpreter: No such file or directorythe file is 100% there
Aucun commentaire:
Enregistrer un commentaire