The Basics of the Mac Terminal

Whenever dealing with web application frameworks like Django,
Ruby, etc. it's good to know your way around the Mac terminal
The basics of Mac Terminal

Most used commands:

cd - stands for change directory(e.g cd mysite) If a folder
called "my site" is within the directory it will change to
that specific directory

cp - copy files/directories

ls - list files and directories
(this will list all the files and subfolders of the current
within the current folder you're in)

mkdlr - creates a new directory

mv- move or rename files/ directories

pwd- stands for "present working directory". This will output
the path of the current directory

rm- remove files or directories (rm foldername or rm samplefile.txt)

Leave a Reply


Next ArticleBeing a Javascript master