How To Empty the Ubuntu Gnome Trash from the Command Line

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.

Here’s the full trash icon, in the lower right hand corner:

Just open a terminal and type in the following command:

rm -rf ~/.Trash/*

Trash has been taken out!

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 12/13/06
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!