How to 'root-access' and delete a 'locked folder' at the desktop? SOLVED!

Donn donn.ingle at
Sun Mar 2 17:40:50 UTC 2008

>> sudo rm -r hplip-2.7.12
By way of a quick explanation, Bas:

1. sudo takes you into 'root' mode temporarily - i.e. you become the most 
powerful user on the system who can do anything anywhere. (Be careful!)

2. rm means 'remove', its the command-line delete button :)

3. -r means 'recurse' -- it will remove everything and all the subfolders 
under it. Sometimes you have to add -f which means 'force' if the system does 
not want to delete something, so: rm -fr blah/

4. The last part is simply the name of the folder you wanted deleted.

HTH, if a bit late,

More information about the kubuntu-users mailing list