I've got 18.5 GB of trash in my trash, I've tried emptying it, but it won't work, even when I navigate to trash folder as root within nautilus.
Asked
Active
Viewed 635 times
0
-
1Take a look at this: http://askubuntu.com/questions/468721/how-can-i-empty-the-trash-using-terminal – Eduardo López Nov 16 '15 at 23:02
-
@EduardoLópez Instead of posting a comment, in the future leave it as an answer with clear indication of where you got the information. For example if that page ever got deleted, that comment would be useless – David Nov 16 '15 at 23:04
-
@DavidCole thanks for the hint. I wrongly assumed it was better not to repeat the information again :-) – Eduardo López Nov 16 '15 at 23:06
1 Answers
1
As taken from here,
You can use this command :
sudo rm -rf ~/.local/share/Trash/*
The rm command removes (delete) files or directories.
-f, --force Ignore nonexistant files, and never prompt before removing.
-r, -R, --recursive Remove directories and their contents recursively.
The trash folder is found at: $HOME/.local/share/Trash
Be careful how to use rm command because any misuse may cause deleting sensitive system folders and files .