Master the macOS command line: How to delete files and folders using Terminal

Home > Technology
By Shannon in Technology
Updated 3 years ago

When it comes to quickly taking care of daily tasks, the command line can be both powerful and dangerous. Take the commands in this article as an example: the rm command allows you to remove (or delete) files. The rmdir command does the same to directories (also know as folders). But be careful: Unlike when you move files to the Trash from the Finder, there's no way to get them back if you use these commands.

master-the-macos-command-line-how-to-delete-files-and-folders-using-terminal