[CentOS] How to change an executable into a directory

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

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

Phil