LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Deleting directories (https://www.linuxquestions.org/questions/linux-newbie-8/deleting-directories-288591/)

NomadABC 02-10-2005 01:49 PM

Deleting directories
 
This should be easy! I've tried the rm command with the -d option and I get "cannot remove directory: matchball is a directory" Get away!

I've also tried rmdir with various switches.

Can anyone help? The directory I'm trying to remove is "matchball"

bumjubeo 02-10-2005 01:51 PM

Are there files in the directory?

If there are just rm -rf matchball

or just delete everything in the directory, and then rmdir matchball

NomadABC 02-10-2005 02:11 PM

Simple and easy. Thanks:)


All times are GMT -5. The time now is 12:17 PM.