How To Empty The Trash From The Terminal

Posted on : December 17, 2013 , Last Updated on : December 17, 2013 By
| Reply More

Dear linoxide reader,

We are linux geeks and we love tips. They make us smarter, look cool in front of other users and what is the most important thing, they make us happy. In this article I will share a nice and simple tip with you guys. If you are a passionate computer geek like me then your trash must be full of unix ebooks you have downloaded for the second time, bash scripts and package files you don't need anymore.

I am in the way of becoming a terminal ninja, so I am working very hard and practising everything I read about linux commands. Now, do you like to empety your trash like a ninja? Ok, ok. Open a new terminal (CTRL+ALT+T) and run the following command.

rm -r /home/your_username/.local/share/Trash/files/*

how to empety trash from the terminal

And some magic happened, my trash is empety.

how to empety trash from the terminal

What about yours? Did this tip work for you? Share your experience with us in the comment section.

Filed Under : UBUNTU HOWTO

Free Linux Ebook to Download

Leave a Reply

All comments are subject to moderation.