empty ubuntu gnome trash from the command line terminal

image_pdfimage_print

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/*