>> Im getting an error when running a script >> : bad interpreter: No such file or directory > > If you ever see that in the shell, it means that the script you're > running has DOS linefeeds in it. Use either "dos2unix" or > "tr -d '\n' < oldfile > newfile" to remove them.
or change it using vi vi scriptname :set ff=unix :wq -- Regards, +-----------------------------+---------------------------------+ | Peter Kiem .^. | E-Mail : <[EMAIL PROTECTED]> | | Zordah IT /V\ | Mobile : +61 0414 724 766 | | IT Consultancy & /( )\ | WWW : www.zordah.net | | Internet Services ^^-^^ | ICQ : "Zordah" 866661 | +-----------------------------+---------------------------------+ My current spamtrap address is [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list