Empty Trash With Terminal

The other day, I had a customer come into the store who was having issues emptying her trash. We tried all the normal prompts, did PRAM resets, and nothing would work.

Using Terminal, there is a quick and easy way to empty the trash if you ever hit hangups while doing so. Just navigate to the Terminal app, open it up and enter the following:

sudo rm -rf ~/.Trash/*

Since this command uses sudo, you will be required to enter your password at this point. After that, you’ll see that your Trash can icon is satisfyingly empty — and you’ll have your hard drive space back.

As always, operate Terminal with care, as you can damage system folders if you enter the prompts incorrectly.

Similar Posts

  • Tip of the Week: Unlearn Words

    We all type words from time to time that spell check doesn’t recognize. Did you know that you can teach spell check words…

  • Safari Search Shortcuts

    If you haven’t assumed it already, I’m a bit of a nutcase when it comes to searching for stuff on my Mac. I…

  • Unbloat Your Inbox

    I was on vacation a couple of weeks ago, enjoying some fresh powder (6 feet!) and admiring the iPad from afar (no, Steve…

  • Letterpress in Photoshop

    First step is to create a background layer with a desired color. I’m choosing 10% gray for the sake of this tutorial because…

  • Customize Time Machine Settings

    I find the hourly backups performed by Time Machine to be a bit excessive for my needs, and wish the Time Machine preferences…