PDA

View Full Version : Deleting Files with root access



saddist
Nov 2nd 2005, 05:09 AM
I've currently installed a game creatures 3 docking station to keep me occupied but its not working and i want to try to re install it. So i need to remove the folder 1st.

basicly my command would be from the correct dir :
saddist@kubuntu:/usr/local/games$ sudo rmdir --ignore-fail-on-non-empty dockingstation

ls

but then it just goes on to the next line and nothing happens but the folder and files are still there
..
saddist@kubuntu:/usr/local/games$ ls
dockingstation
saddist@kubuntu:/usr/local/games$ sudo rmdir --ignore-fail-on-non-empty dockingstation
Password:
saddist@kubuntu:/usr/local/games$ ls
dockingstation
saddist@kubuntu:/usr/local/games$ sudo rmdir --ignore-fail-on-non-empty dockingstation
saddist@kubuntu:/usr/local/games$

any help would be greately appreciated

whoiam55
Nov 2nd 2005, 05:23 AM
try sudo rm -r foldername

saddist
Nov 2nd 2005, 05:33 AM
Thank you whoiam55 worked fine