empty trash from terminal ubuntu code example Example: clear trash ubuntu rm -rf ~/.local/share/Trash/*