Gnubie
Oct 1 2003, 02:43 PM
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
Oct 1 2003, 02:58 PM
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
Oct 1 2003, 06:26 PM
Ahh, that worked. Thanks.