Gnubie Posted October 1, 2003 Report Share Posted October 1, 2003 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. :?: Quote Link to comment Share on other sites More sharing options...
Guest anon Posted October 1, 2003 Report Share Posted October 1, 2003 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 Quote Link to comment Share on other sites More sharing options...
Gnubie Posted October 1, 2003 Author Report Share Posted October 1, 2003 Ahh, that worked. Thanks. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.