Notes on Using the Mac Terminal
1 min read

Notes on Using the Mac Terminal

Because I have a bad memory and find myself constantly looking things up:

cd – Enter a directory.
cd - – Go back
cd ~ – Go to home
cp – copy
ls – list whatever is in the directory
ls -ltrw – list whatever is in the directory with options
sudo – run as admin (“super user do”)
mv – move
chmod
r-sync
pwd – path
mkdir make a directory
touch create a file if none exists
&& – run subsequent commands… such as npm install && npm start
find / -name abc.dmg to search via the terminal for something, with abc.dmg being replaces with what you’re looking for


Thank you for reading.

Was this useful? Interesting? Have Something to add? Let me know. Seriously, I love getting email and hearing from readers. Feel free to send me an email at hi@romandesign.co with your thoughts.


If you're interested in reading more, I encourage you to sign up for emails as well. It's really easy:

Thanks,
Roman