b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

New Linux User

Force empty your trash from the command line

by Kyle on April 27th, 2007

trash.png

Who doesn’t love the command line? The following command will show you how to force empty your trash using the command line in Ubuntu or Debian:


sudo rm -fr /home/USERNAME/.Trash

Replace the “USERNAME” section with your own username. You may need to refresh your GNOME or KDE session to see the results. You can quickly refresh your session by typing CONTROL+ALT+BACKSPACE. This command line function is particularly useful if you’ve got a stubborn file or script that will not get out of your trash. Thanks, Arsgeek.

POSTED IN: How To

1 opinion for Force empty your trash from the command line

Have an opinion? Leave a comment:




Check Spelling
Activate Spell Check while Typing