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/*
Ubuntu Tips | Ubuntu Howtos | Ubuntu Tutorials
>[…] Empty Ubuntu Gnome Trash in command line […]