LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   remove question (https://www.linuxquestions.org/questions/linux-newbie-8/remove-question-101189/)

ody1 10-07-2003 08:08 AM

remove question
 
Hi all,

I was wondering, how can I use the command rm to remove directories, containning subdirectories and files in them? (similar to deltree in dos) thnx

fatgod 10-07-2003 08:15 AM

rm -rf

Have fun ;)

mdslf 10-07-2003 08:19 AM

%rm -fR

-f --> will delete all files without prompt
-R --> will delete all directories and sub directories ("r" also can be used)

Hope this helps!
-mdslf

ody1 10-07-2003 08:48 AM

thanks friends! be cool


All times are GMT -5. The time now is 11:04 PM.