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 ?
---------- Forwarded message ---------- From: Varuna Seneviratna varunaseneviratna@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@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.
---------- Forwarded message ---------- From: Varuna Seneviratna varunaseneviratna@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@lists.fedoraproject.org
---------- Forwarded message ---------- From: Varuna Seneviratna varunaseneviratna@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@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
On Tue, May 10, 2011 at 9:21 AM, Varuna Seneviratna varunaseneviratna@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)