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-82260/)

AZDAVE 08-15-2003 09:45 AM

deleting directories
 
I am trying to remove a html directory from my test box but I cant because there are files in it. IS there a quick way to delete the directory without first deleting all the files first? :newbie:

thanks for your help

trickykid 08-15-2003 10:05 AM

rm -rf /directory

Be care not to run as root and not to leave any space after the / or it will remove everything.


All times are GMT -5. The time now is 03:30 PM.