LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Uninstall or Remove Folder? (https://www.linuxquestions.org/questions/linux-general-1/uninstall-or-remove-folder-350616/)

sall 08-06-2005 01:32 PM

Uninstall or Remove Folder?
 
I am trying to remove a folder on my desktop thats permissions are root and i cant delete themeself, it has i do not have the permission, however its going to take forever to delete the files manually by rm -, and then rmdir... there are a lot of files inthis folder... is there a way to delete the whole folder even though there are files and folders inside? or is it easier to log in as root at startup...however i dont know how to do that.. i am using ubuntu 5.04 with kde

david_ross 08-06-2005 01:36 PM

Just delete it recursively:
rm -rf /path/to/folder

sall 08-06-2005 01:42 PM

thanks, i didnt know that command, worked perfect

reddazz 08-07-2005 11:15 AM

Quote:

Originally posted by sall
thanks, i didnt know that command, worked perfect
If ever you log in as root, use it wisely or you may end up hosing your entire system.

Philips 08-07-2005 11:35 AM

You could always use "man rm" to look at the manual for that command and it shows all of the options for that command the "-rf" are options that allowed you to remove the entire directory. and if you ever need root privliges type sudo before the command


All times are GMT -5. The time now is 03:49 PM.