Benaiah\’s Computer Experiences

July 19, 2007

Force Empty Trash in Ubuntu

Filed under: trash, ubuntu — Benaiah @ 12:25 pm

I had several files in my Trash folder on my Linux system that would not delete.  Here is how to do it:

For release 8.04:

sudo rm -rf ~/.local/share/Trash/files/

For release 7.10 and earlier:

sudo rm -rf $HOME/.Trash

Remember to be careful how you use this command, the -f (forceful) will no do any verification before removing the file.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: