-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 3 Jun 2003 14:51:05 -0700 (PDT), 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 ???

Run "dos2unix" on it.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+3R/X0iMVcrivHFQRAkrrAJ9nzlK52h5SR2zpZSz1jC1cWuRfEgCcD/gG
0YUg/ABYv39bVdVWXmt4iL0=
=Jxr+
-----END PGP SIGNATURE-----


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

Reply via email to