- HOW TO CREATE A FOLDER ON MAC USING TERMINAL HOW TO
- HOW TO CREATE A FOLDER ON MAC USING TERMINAL PLUS
After you launch Terminal (in your /Applications/Utilities folder) type cd ~/Desktop to navigate to the Desktop directory. It’s dangerously easy to delete files with the rm command.
These files, which can contain settings for certain apps or parts of macOS, contain a dot (.) before their names and the Finder doesn’t show them.
HOW TO CREATE A FOLDER ON MAC USING TERMINAL PLUS
Why bother deleting files with the command line?ĭeleting files with the Finder isn’t too difficult, plus you can always fish files out of the Trash if you change your mind.
HOW TO CREATE A FOLDER ON MAC USING TERMINAL HOW TO
I’ll show you how to add a safeguard to ensure that you only delete files you really want to delete. Still, if you want to tap into Terminal’s powers, this is a command you can’t overlook. 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. The rmdir command does the same to directories (also know as folders). Take the commands in this article as an example: the rm command allows you to remove (or delete) files.
When it comes to quickly taking care of daily tasks, the command line can be both powerful and dangerous.