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

  • Custom Keyboard Shortcuts

    It’s no secret that I am a big fan of keyboard shortcuts. If I can keep my hands on the keyboard, and not…

  • Making Launchpad "Better"

    I have been a long-time lover of organizing my apps by folder and putting them in my dock to access them more quickly….

  • Copy and Copy and Copy and Paste

    After reading Ed’s article a couple weeks ago about the “Paste and Match Style” feature, I was reminded of two of my absolute…

  • Expand Safari 5 With Extensions

    Safari 5 brought a slew of new features but one of the most exciting features that is yet to be officially unveiled is…