How to remove a directory which has other directories in it?

Joel Rees joel.rees at gmail.com
Thu May 12 11:20:27 UTC 2011


On Tue, May 10, 2011 at 9:21 AM, Varuna Seneviratna
<varunaseneviratna at gmail.com> wrote:
>[...]
> If you want to delete the fodler with its contents, do the following as root
>
> rm -rf folder_name
>
> This will delete everything.
> Just an after thought - if you want the system to ask for confirmation
> before deleting, leave out 'f' in the command above

-f is for "force"

Depends on environmnt variables.

Add -i to make sure that it asks.

-i is for "interactive".

(IIRC, the manual is your friend)


More information about the users mailing list