LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Deleting a non empty folder without having to change directories (https://www.linuxquestions.org/questions/linux-newbie-8/deleting-a-non-empty-folder-without-having-to-change-directories-4175531683/)

poadeosun1 01-20-2015 11:01 PM

Deleting a non empty folder without having to change directories
 
So am at my home folder and I want to delete an unempty folder without changing directories.....what command line do I use for that

evo2 01-20-2015 11:06 PM

Hi,

to remove a directory that contains files you can use rm with the recursive option. Eg
Code:

rm -r path/to/directory
Evo2.

poadeosun1 02-04-2015 08:32 PM

Thanks...


All times are GMT -5. The time now is 04:19 AM.