> -----Original Message-----
> From: Hernan Brun 
> Sent: Tuesday, November 19, 2002 1:00 PM
> Subject: no such file or directory
>
>
> Hi folks!
> I have a script in /etc/rc.d
> If I execute it in rc.local way, not work
>
> If I change to /etc/rc.d and write  ./script
> No such file or directory 
> But the file is there and have x permision!!
> What can i do?
> The file was copied form backup cdrom
>
> Thanks in advance
> Hernan

Is this possibly a DOS formated script (CRLF) your trying to execute? Try
opening it with vi and see if it says DOS on the bottom line. If so, use
dos2unix to remove the CRLF garbage.

Steve Cowles



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to