How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Michelle Your Own Question
Michelle
Michelle, Mac Technician
Category: Mac
Satisfied Customers: 982
Experience:  Apple Computers and Mobile support with 12 years of exp.
70409726
Type Your Mac Question Here...
Michelle is online now
A new question is answered every 9 seconds

Mac OS 10.5 wont allow me to empty trash

This answer was rated:

Mac OS 10.5 won't allow me to empty trash

Appleologist :

Hi, and welcome to Just Answers! I am excited to get started with you.

Appleologist :

Hi, what error message are you receiving when you try to empty your trash?

Customer:

Hi- I'm unable to empty trash, getting a 'this file is locked' message

Appleologist :

Lets try to force it out!


1. Open terminal (Click the magnifying glass in the upper right corner and type in terminal)


2. Copy and paste this command into terminal: sudo rm -rf ~/.Trash/*


3. Enter your password


4. It should empty now

Customer:

when I paste the info in the window, what is the next step?

Appleologist :

did it prompt you for your password?

Customer:

no

Appleologist :

Can you make sure there is no space after the "$" in the first command line


sudo rm -rf ~/.Trash/*

Customer:

not sure what is the first command line

Appleologist :

Lets open up a new terminal window. Press Command+ N and copy and paste code


sudo rm -rf ~/.Trash/*

Appleologist :

Were you able to open up a new terminal window?

Customer:

When I followed those instructions screen went to apple start page and goole window

Appleologist :

Ok lets try this instead. Press these 4 key combinations


Command +Option + Shift + Delete

Customer:

Was supposed to press return after entering those letters? When I do it asks if I want to leave the page

Appleologist :

No, you do not have to press return after


1. Press Command first , continue to hold. Press the Option key next, continue to hold. Press Shift Key, continue to hold then hit delete.


 

Customer:

nothing happens

Appleologist :

Alright. We will need to go back to terminal. Do you still have it open?

Customer:

The window with the magnifier? Yes, it's open

Appleologist :

Can you click on the command window. Then in the top menu bar next to the apple logo, you will see the "Shell" Click on that, select new window and then "Basic"

Customer:

What do you refer to as the command window?

Appleologist :

It is the window were I asked you to paste a code line in

Customer:

(Previously referred as the terminal? ) Next to the apple logo is the word 'Safari'. There is no shell

Appleologist :

That is because you are in safari now,


1. Click on the Magnifying glass again and type in terminal. It should also be in your dock since it is still open. It is a black box

Appleologist :

How are you doing so far?

Customer:

Yes, it has my name and last login time

Appleologist :

Ok great. Now paste this code. Make sure you when you highlight the code, you do not highlight any spaces before sudo or after *


 


sudo rm -rf ~/.Trash/*

Customer:

'it says 'command not found'

Appleologist :

it is working for me. Can you open your trash for me?

Customer:

ok, it says trash being emptied

Appleologist :

Is it empty?

Customer:

Does deleting the trash free spach on start up disk?

Customer:

Yes. It seems to be empty

Appleologist :

Yes it does. Especially when there are a lot of data in the trash. YAY you did it!

Customer:

Thank you!

Appleologist :

If you are satisfied with my answer, you can go ahead and accept/rate my answer

Michelle and 3 other Mac Specialists are ready to help you

Related Mac Questions