LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Folder Problem (https://www.linuxquestions.org/questions/ubuntu-63/folder-problem-361421/)

crash_override_me 09-08-2005 09:58 AM

Folder Problem
 
HI GUYS,

How do i remove a folder straight away, without having to first remove all the other files & folders in it??

Please Help!!

BroX 09-08-2005 10:09 AM

Code:

man rm
But if you're too lazy:
Code:

rm -rf /path/to/directory

kb_ganesh 09-08-2005 10:10 AM

in terminal, cd to the parent directory of the folder you want to delete and use rm -rf <folder to be deleted>

r for recursive and f for force

hope this helps :)

PS:guess we both posted at same time..i dint see the previous users reply..please delete my post if necessary


All times are GMT -5. The time now is 12:15 AM.