Thanks man, this worked....spent a whole day knockin my head on this. thanks again
--- Gordon Messmer <[EMAIL PROTECTED]> wrote: > 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 > > You have DOS linefeeds in your file. Convert the > file to Unix > linefeeds, either by copying the file using ASCII > mode FTP, or one of: > > tr -d '\r' < script > script.new > > perl -pi -e 's/\r$//;' script > > dos2unix < script > script.new > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list __________________________________ 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