try changing /bin/sh to /bin/bash
or create a symbolic ling from bash to sh

   R.D.

On Tue, 2003-06-03 at 17:51, John Scamba wrote:
> I am trying to run this simple script in RedHat 9.0
> but i keep getting this error:
> : bad interpreter: No such file or directory
> 
> Script:
> #!/bin/sh
> echo "Monitoring HLDS"
> while true
> do
> cd /home/fanatic54/hlds_l
> nohup ./hlds_fan54 > output
> date >> crashlog
> sleep 10
> done
> 
> 
> It used to work perfectly fine on my 7.2 box, why not
> in 9.0 ???
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to