Empty Trash Via Bash
Join the DZone community and get the full member experience.Join For Free
// Using Andrea Francia trash-cli package // Package will be installed at first command launch
# empty your trash with any permission problem whereas sudo empty-trash # empties **root** trash sudo su empty-trash
Bash (Unix shell)
Opinions expressed by DZone contributors are their own.