LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I delete unwanted folders (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-delete-unwanted-folders-821562/)

gael33 07-22-2010 04:13 PM

How do I delete unwanted folders
 
I noticed after uninstalling Firefox that the folder is still listed in the files/etc ... how do I delete these files?

/etc/firefox
/etc/firefox-3.0
/etc/forefox-3.5

buckem 07-22-2010 04:26 PM

rm -rf /etc/firefox
rm -rf /etc/firefox-3.0
rm -rf /etc/forefox-3.5

this will delete the folders and all files within them.

gael33 07-22-2010 04:45 PM

Thanks a lot as that appears to have done the trick ;)
I've made a note of those commands for future reference.

gael.

buckem 07-22-2010 05:02 PM

You're welcome, I came back to linux this year after being off of it since just before slackware 3 was released and could not for the life of me remember that I needed to add the -rf after rm to remove a folder with files.

gael33 07-23-2010 01:36 AM

Quote:

Originally Posted by buckem (Post 4042387)
You're welcome, I came back to linux this year after being off of it since just before slackware 3 was released and could not for the life of me remember that I needed to add the -rf after rm to remove a folder with files.

I'm very grateful that you did come back as I have benefited from your return ... cheers :)


All times are GMT -5. The time now is 06:31 PM.