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 homecp
– copyls
– list whatever is in the directoryls -ltrw
– list whatever is in the directory with optionssudo
– run as admin (“super user do”)mv
– movechmod
r-sync
pwd
– pathmkdir
make a directorytouch
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. Shoot me a note at hi@romandesign.co with your thoughts and I promise I'll respond.
If you found this interesting, you can sign up for updates when there's a new post. It's really easy:
Thanks,
Roman