Mac: Cannot Empty Trash

How many times you have encountered this message while trying to empty your trash on your Mac :

“This operation cannot be completed because the item filename.ext is in use”

and you would go crazy trying to delete it but it wouldn’t unless you restart your system.
One way to empty trash in this case is:

1) Drag the file from your Trash bin back to the Desktop.

2) Launch a Terminal i.e Go to Application -> Utilities -> Terminal and type the following into the terminal window leaving a space after -rf

cd ~/.Trash && sudo rm -rf

3) Drag that file you wanted to delete from your Desktop to the terminal window and then press Enter.

4) It will ask for your Mac password, so enter your password and press Enter. (Note: On terminal window, when you type the password, you won’t be able to see it, but the password is being entered. So don’t panic).

If you followed the steps correctly, then the trash will be emptied.

This is what the world has to say :

What's your say ?