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