Can't empty trash, even with Terminal command

Discussion in 'Mac OS X Lion (10.7)' started by kat.hayes, Jul 5, 2013.

  1. kat.hayes macrumors 6502a

    Joined:
    Oct 10, 2011
    #1
    I have a .doc file that is stuck in my trash and I can not delete the trash. I have quit all programs and rebooted and it still will not delete.

    I open Terminal and copy and paste this:

    sudo rm -rf ~/.Trash/*

    when I hit return it prompts me for my password, though I do not have one on my Mac though it keeps telling me to enter one.

    Any suggestions?

    Thanks!
     
  2. desertman macrumors 6502a

    Joined:
    Jul 14, 2008
    Location:
    Arizona, USA
    #2
    Put temporarily a password on your account and try again to delete via Terminal.
     
  3. eves-son macrumors newbie

    Joined:
    Apr 27, 2010
    #3
    I have the same problem but when I try to enter the password, it does not accept it. the keys do not respond.
     
  4. Cristian .b macrumors member

    Joined:
    Aug 16, 2013
    Location:
    Apple walled garden
    #4
    Open the trash then press and hold option and click empty.
     
  5. Dalton63841 macrumors 65816

    Dalton63841

    Joined:
    Nov 27, 2010
    Location:
    SEMO, USA
    #5
    In order to use sudo commands in Terminal you HAVE to have a password on your account.

    Does it give you some kind of error when you try to empty the Trash? What does it do exactly?
     

Share This Page