Help - Search - Members - Calendar
Full Version: Undeletable directory
MandrivaUsers.org > Advanced Topics > Command Line, Kernel and Programming
Gnubie
I have a directory that I cannot delete because it is owned by Root. I figured out how to delete files within the directory one at a time, but I would like to know if I can delete it all at once because there is about 90 files and I don't want to do that 90 times. So what's the command for removing a directory full of files owned by root? I looked in help and I couldn't find the answer. :?:
anon
Open up a console and type su
Enter your root password
Then type rm -r name_of_directory

Be sure you do not want the files, there is no undelete or restore.
For some help with entering command lines, look here:
http://www.linuxcommand.org/learning_the_shell.php
Gnubie
Ahh, that worked. Thanks. biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.