
How to Delete a File and Directory in Mac – Terminal Command
Deleting files and directories is usually easy with Finder for Mac users. While graphical interface works great most of the times, using terminal commands usually offers more flexibility and power. In this article we'll learn various methods to delete files and directories on macOS using the command line.