Ubuntu has a trash can which you can find it’s icon on right bottom of your screen.

Here’s the command that empty the trash:

sudo rm -rf ~/.local/share/Trash/files/*