Empty the trash using terminal ubuntu
rm -rf ~/.local/share/Trash/*
The rm command removes (deletes) files or directories, and -rf mean:
-f, --force Ignore nonexistant files, and never prompt before removing.
-r, -R, --recursive Remove directories and their contents recursively.
Be careful how you use the
rm
command - the files aren't sent to a trash can where you can undelete them, so it's not easy to undo.