Working with Linux

6 chapters · 30 lessons

This course introduces the Linux command line for readers who have not used it before. We will learn to inspect files, understand commands and their effects, follow programs, and make informed choices about software and access. The examples teach concepts and safe habits; completing the questions does not establish independent practical proficiency.

What you need

Use a Linux environment with Bash and common command-line utilities. A Linux desktop, WSL distribution, or Linux virtual machine can work; the first lesson discusses the trade-offs. Some examples use Python 3, and the terminal editor walkthrough is optional. If Python or another optional tool is absent, read its example and output rather than installing software without permission. You need an account allowed to create a disposable directory in its home directory; do not use an important project or sensitive data. No administrator access or package installation is required for the course examples.

Read in order. Chapter 1 creates a practice directory and explains how to return to it. Later file-changing lessons use their own fresh subdirectories; follow the procedure in chapter 3. Stop when a setup command fails rather than continuing in an uncertain location. System behavior and available tools can vary.

Chapters

  1. Start safely — choose an environment, read commands, and create a practice space.
  2. Find and read — navigate paths, inspect text, search, and understand links.
  3. Change files deliberately — edit and manage files and understand access.
  4. Follow a program — trace execution, status, processes, and command lookup.
  5. Moving information — connect streams and understand variables and environments.
  6. Shaping the environment — assess software sources, editors, and persistent settings.

Finish with the final assessment, which has 20 multiple-choice questions and explanations.