Commanding the Command Line

Command Line Resources

Terminal on a Mac. Your window into your computer and home base for doing dev work. It's how you jump between files and directories, open stuff up, rub simple scripts, check the status of things and look cool doing so.

It's a great thing to be familiar with, but you only need a dozen commands to run.

Books

Learn Code the Hard Way, Zed A. Shaw
"This is a mini-book that teaches you Unix or Windows command line skills. Unlike the "Learn The Hard Way" series, this crash course is designed to get you mostly capable in a few hours to a few days. It has little explanation and focuses more on doing a small set of commands until you remember them." Also free online course."
http://cli.learncodethehardway.org/

FLOSS Manual's Introduction to the Command Line
http://en.flossmanuals.net/command-line/

Conquering the Command Line, Mark Bates
http://conqueringthecommandline.com/book/basics

Flashcards
Flashcards are a good way to learn. You can choose what topics you'd like or develop your own.

Here are the flashcards you can use, and remember you only need to have the basic 20 commands down:

  • [Anki](http://ankisrs.net/): FOSS. Desktop client available.
  • [Memorang](https://www.memorangapp.com/): Flashcard quizzes and games
  • [StudyBlue](https://www.studyblue.com/online-flashcards): Flashcards, quizzes and progress tracking. Make your own, or borrow from the flashcards and notes already available.
  • [Cram](http://www.cram.com/search?query=command+line&submit=Search): Create and share online flashcards. Linked to command line flashcards.
  • [Quizlet](https://quizlet.com/subject/command%20line/): Here are the command line flashcards available
  • Articles
    • http://lifehacker.com/5633909/who-needs-a-mouse-learn-to-use-the-command-line-for-almost-anything This articles gives some really goos shortcuts I had overlooked.
    • https://speakerdeck.com/62gerente/bash-introduction "What is Bash" Slideshow, Andre August
    • https://www.git-tower.com/learn/git/ebook/command-line/appendix/command-line-101#start
    • http://explainshell.com/ Write down a command-line to see the help text that matches each argument
    Online Courses
    Viking Code School has a great and exhaustive prep course online, and the section on command line is pretty well done. http://www.vikingcodeschool.com/web-development-basics/a-command-line-crash-course#tab
    Recap: Cheat Sheet
    Here's a screen-grab of a good cheat-sheet. Feel free to download the original document: https://www.git-tower.com/blog/command-line-cheat-sheet/ Command Line Cheat Sheet, Tobias Gunther, Git-Tower