OS X Top Essential Terminal Commands

Rename a file or folder via command line


Remove directory with files

-r "recursive" -f "force" (suppress confirmation messages)


See hidden files in directory

ls: "Directory listing",  -a:"Show with hidden files/folders" -l:"vertical detailed list view"


Delete the content of your app/cache and app/logs folders

rm "Remove"



Give all permissions (reads and writes) to your app/cache and app/logs folders

chmod "Change mod write permission" 777 "everybody read/write/execute"


Print Working Directory

It shows your absolute path on computer.  like: /Users/trevor/Dev/web


Find / Search A File


Duplicate / Copy A File


Published on: 2015/06/18

Leave a Reply

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram