[CentOS] How to change an executable into a directory

Phil Schaffner Philip.R.Schaffner at NASA.gov
Tue Dec 30 18:08:40 UTC 2008

MHR wrote:
> I just discovered that a couple of files on my system are ELF
> executables when they should be directories.  How do I change a file
> into a directory?  I don't think I've ever run into this one
> before....

mv filename filename.bck
mkdir filename


More information about the CentOS mailing list