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

  • Find My iStuff

    Built in to iOS 5+ and OS 10.7 and later is the ability to use iCloud. iCloud lets you back up and sync…

  • Tip of the Week: Try Smart Mailboxes

    My mailbox swelled to the point that the “comparing notes with server” function seen in Mail’s Activity viewer (found in the Window menu)…

  • 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…

  • Easy Strain Relief Mod

    All cables have the potential to fail due to something called strain relief. Essentially, the joint where the cable meets the connector can…

  • January is National Blood Donor Month

    The American Cross estimates that “every two seconds someone in America needs blood.” That’s where you come in! January is National Blood Donor…