Check the end-of-line types. It's likely a Windows text file rather than a UNIX one.
Also, what's the first line of the script? Jon On Wed, 4 Jun 2003, Emmanuel Seyman wrote: > On Tue, Jun 03, 2003 at 02:51:05PM -0700, 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 > > Usually, this happens when the file you are trying to > run is not executable. Two solutions: > > 1) Make the file executable: chmod +x /path/to/script > > 2) Execute a shell and make it interpret your script: sh /path/to/script > > Emmanuel > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list