Keyboard Shortcut to delete a file on a Mac [Macbook]

If you want to delete a file or files on a Mac all you need to do is two finger tap on your trackpad on your MacBook or right click using the Mouse after selecting the file(s) to delete and click on "Move to trash", but you you want to make use of keyboard shortcut| to perform the same operation you can press - Command + Delete keys together, the file will be moved to trash and you should here the sound,

If you want to delete the file completely, without moving to the trash, press Command + Option + Delete keys, you will see a prompt that says,

Are you sure you want to delete FILE? The item will be deleted immediately you can't undo this action.

You need to click on the Delete button of the option to delete the file permanently.

Command + Option + Delete keyboard shortcut to delete file permanenlty
Command + Option + Delete keyboard shortcut to delete file permanenlty
Try Out Code2care Dev Tools:


#Android #Java #Linux #Microsoft #Google #Python #MacOS #Notepad++ #Microsoft Teams #CSS #PHP #SharePoint #Html #Linux #C-Program #Bootstrap #jQuery #Sublime #Android-Studio #Facebook #Eclipse #WhatsApp #News #MySQL #Json #HowTos #JavaScript #FTP #S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -