Computing.Net > Forums > Linux > change file to directory

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

change file to directory

Reply to Message Icon

Name: Jumper
Date: July 5, 2007 at 03:48:22 Pacific
OS: Red Hat Enterprise Linux
CPU/Ram: CPU/Ram: CPU Speed: 2600
Product: ProLiant DL585 G2
Comment:

-rwxrwxrwx 2 Oracle load 4096 Jul 3 17:15 storage

this used to be a directory

which umask or chmod value do I use to return the type to d?


tia,



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: July 5, 2007 at 19:52:23 Pacific
Reply:

I don't think it would work.

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 2
Name: sype
Date: July 6, 2007 at 09:52:47 Pacific
Reply:

try mkdir "name" then copy that file to the directory

mv /home/etc/host/filename /home/etc/html

(etc is not the directory just an example)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: change file to directory

how to change kde to gnome www.computing.net/answers/linux/how-to-change-kde-to-gnome/24432.html

Maximum files per directory? www.computing.net/answers/linux/maximum-files-per-directory/5879.html

no such file or directory using rpm www.computing.net/answers/linux/no-such-file-or-directory-using-rpm/13903.html