0

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.

draoi
  • 33

1 Answers1

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 .

David
  • 3,487