Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tons of file on my desktop. I am using latest macbook pro.

After selecting the file using mouse I hit delete and then "command and delete" and none of them work.

So finally I hit ctrl + mouse click and then I chose "Move to trash".

Is there a way to delete the file using only keyboard?

share|improve this question
Also, is there a way to delete a file, instead of only moving it to the trash bin? I mean, other than "rm" at the prompt? – lpacheco Jun 16 '11 at 11:26
Did the answer solve your problem? If yes you can mark it as accepted; if no can you provide more information? – styfle Jul 2 '11 at 22:49
@lpacheco -- No, the Finder does not provide the ability to do this directly. You can press the keyboard commands to send to Trash and immediately empty the trash, or check out this question and answer (…) for other ways to extend Finder to be able to do this. – whiskeychief Aug 6 '15 at 10:24

command+delete works just fine. Highlight the file (single click or use your keyboard to select it), then hold command and without releasing it, push delete. This moves the file or folder to the trash.

Note that delete is in the same place as Backspace on a Windows keyboard.

share|improve this answer
A variety of other OS X apps also require Cmd-Delete instead of simply Delete, mimicking the Finder. – Matthew Frederick Jun 16 '11 at 3:11
how did you make the command, delete and backspace show up as buttons? – Yasky Jun 16 '11 at 9:34
<kbd>keyname</kbd> – jm666 Jun 16 '11 at 9:52
To select the icon of the file -- if no windows are active (or they are all closed -- you can start typing the icon's name. – whiskeychief Aug 6 '15 at 9:53

The full procedure to delete a file from the desktop, without the mouse, that should work almost anywhere in OS X, includes the following.

Command-Tab to switch applications until the Finder is the active application.

If any Finder windows are currently open, press Command-Shift-D to open a new window containing the Desktop folder, or Option-Command-W to close all active Finder windows and make the Finder's desktop active;

To highlight the icon, type the first few letters of the icon's name, or press the arrow keys until it is selected (highlighted);

Command-Delete to send the icon to the trash;

Optionally, Command-Shift-Delete to empty the trash.

Learning the keyboard shortcuts takes time, but many of the steps in the Finder can become natural, almost "automatic" with enough practice.

(This answer gives the key names in U.S. English. The Command key is also labeled ; The Option key is also labeled ; The Shift key is also labeled ; and as mentioned by Styfle, the "delete" key is called "Backspace" on other operating systems.)

share|improve this answer
This so confusing with irrelevant information. – igaurav Jan 10 at 6:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.