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

Varuna Seneviratna varunaseneviratna at gmail.com
Tue May 10 00:21:21 UTC 2011


---------- Forwarded message ----------
From: Varuna Seneviratna <varunaseneviratna at gmail.com>
Date: 10 May 2011 05:49
Subject: Fwd: How to remove a directory which has other directories in it?
To: Community support for Fedora users <users at lists.fedoraproject.org>


---------- Forwarded message ----------
From: Varuna Seneviratna <varunaseneviratna at gmail.com>
Date: 10 May 2011 05:40
Subject: How to remove a directory which has other directories in it?
To: Community support for Fedora users <users at lists.fedoraproject.org>


I Downloaded tomcat6 core and uncompressed using the tar utility and
the result was apache-tomcat-6.0.32.Now I want to remove it.

When going through the Graphical mode to the Downloads directory and
try to delete it it says permission denied.

When trying to use the rmdir command as root the message is that the
directory is not empty.How to remove a directory which has many files
in it from the command line or through the graphical mode to which
normally the message you get is permission denied ?


>From Professorrmd through the Fedora Forum General Support
Section(http://forums.fedoraforum.org/showthread.php?p=1469594#post1469594)

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


More information about the users mailing list