Learn Command Line by writing real code

Navigate and manipulate your computer with the command line.

Each chapter explains one idea, shows a worked example and then asks you to write and run your own Command Line code in the browser, with tests that check your answer.

The Command Line course is free: every chapter, example and exercise is open without a membership.

Command Line chapters

  1. The Terminal
  2. Navigation
  3. Files & Folders
  4. Pipes
  5. Permissions
  6. Environment Variables
  7. Shell Scripts