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– change directory/user permissions. File permissions fall in three categories: read, write, and execute represented as r , w, x.chown - Change ownership of directory.r-sync – path
pwdmkdir make a directorytouch create a file if none exists&& – run subsequent commands… such as npm install && npm start to search via the terminal for something, with
find / -name abc.dmgabc.dmg being replaces with what you’re looking for
Thanks for reading
Useful? Interesting? Have something to add? Shoot me a note at roman@sharedphysics.com. I love getting email and chatting with readers.
You can also sign up for irregular emails and RSS updates when I post something new.
Who am I?
I'm Roman Kudryashov -- technologist, problem solver, and writer. I help people build products, services, teams, and companies. My longer background is here and I keep track of some of my side projects here.
Stay true,
Roman