Benaiah\’s Computer Experiences

July 19, 2007

Force Empty Trash in Ubuntu

Filed under: trash, ubuntu — Benaiah @ 12:25 pm

I had several files in my Trash folder on my Linux system that would not delete.  Here is how to do it:

For release 8.04:

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

For release 7.10 and earlier:

sudo rm -rf $HOME/.Trash

Remember to be careful how you use this command, the -f (forceful) will no do any verification before removing the file.

Advertisements

Create a free website or blog at WordPress.com.