December 27, 2006 · General · Email This Post
Share
{lang: 'en-GB'}

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

Share

Related posts

65 Comments to “Empty Ubuntu Gnome Trash from the Command Line”

  1. mordreas says:

    worked like a charm, perfect ^^

    [Reply]

  2. bob says:

    you can empty a windows trash can from commandline too :P

    [Reply]

  3. Neel says:

    I have a file named 810_98ME2KXP_v1.6 in my trash can and when I empty the trash can this file doesn’t get deleted neither it gets restored. It just stays as it is with the same error all the time

    [Reply]

  4. Carl says:

    810_98ME2KXP?
    Trolling us here? Windows 98, Windows ME, Windows 2K, Windows XP xD

    [Reply]

  5. Chicken Wing says:

    Thanks! I had tons of files in there

    [Reply]

Leave a Reply