Ubuntu has a trash can/recycle bin feature similar to windows. The difference with Ubuntu is that you can empty the trash from the command line.
First you need to open your terminal and type the following command
rm -rf ~/.Trash/*
Note : You probably have files there that can only be erased if you have root privileges.
So, try this code instead:
sudo rm -rf ~/.Trash/*
Enjoy Trashing..


















May 22, 2008 at 12:56 am
this command is not working @ Ubuntu hardy, any ideas?
September 30, 2008 at 7:28 pm
same problems, didnt work on 8.04
September 30, 2008 at 7:34 pm
i used this and it work:
sudo rm -rf ~/.local/share/Trash/files/*
June 3, 2009 at 10:34 am
Thanx dvallej that was very handy