Command line tips

I have been using the command line for a while now, but I don’t use it as much as I should. Coming from a design background it was a bit alien to me from the beginning. I now use it daily for things like, git, running projects using grunt, navigating files etc. I wanted to build up a resource of useful commands I have found on the way.

Fire up a local server on localhost:8000 to view you built out files using back to route links.

	python -m SimpleHTTPServer

Copy your SSH key.

	cat ~ /.ssh/id_rsa.pub | pbcopy

Change the ownerships.

  sudo chown -R USERNAME FILE YOU WANT TO CHANGE