Skip to content
PHASE 03Beginner2 weeks

Learn to Talk to Your Machine

Objective: Navigate and manipulate your system, edit files, and track changes using only the command line.

Lessons8 free
The Mission

The graphical interface is training wheels. Real IT work happens in the terminal. Your job is to navigate the filesystem, manage files, edit configurations, and track your work using only CLI.

Learn the Linux filesystem hierarchy: what /etc, /var, /home, /tmp, /usr, and /bin are for. Pick nano or vim and get to a point where you can open a config file, change a value, and save it without panicking.

Starting now, your course-notes/ folder is a Git repository.

Core commands to own
  • pwdWhere am I right now?
  • lsWhat's in this directory?
  • cdMove to a different directory
  • mkdirCreate a directory
  • touchCreate an empty file
  • cpCopy files or directories
  • mvMove or rename files or directories
  • rmDelete files. Linux has no recycle bin.
  • catDisplay file contents
  • manRead the manual page for any command
  • sudoRun a command as administrator
  • chmodChange file permissions
  • chownChange file ownership
  • grepSearch for text inside files
  • findSearch for files by name or type
  • dfCheck disk space
  • top / htopSee what's running
  • git init / add / commitTrack your work locally
The Challenge8 tasks
  1. 1

    Create the full ~/company/ structure (hr, engineering, sales, finance, and it, each with 3 .txt files) using only the terminal. No file manager.

  2. 2

    Add at least one line of text to each file using echo and output redirection (>).

  3. 3

    Copy the entire company directory to /tmp/company-backup.

  4. 4

    Find every .txt file in the company directory using the find command.

  5. 5

    Search for a specific word across all files using grep.

  6. 6

    Check disk space and memory usage. Write the output to system-report.txt.

  7. 7

    Open system-report.txt in nano or vim. Add a header line: "System Report - [today's date]". Save and exit.

  8. 8

    Initialize your course-notes/ directory as a Git repo. Add all existing files. Make your first commit: "initial commit - phases 1-3".

The Log
course-notes/phase-3-cli/
  • commands-reference.md
    Every command you learned, what it does, an example. In your own words. Not copy-pasted from the man page.
  • text-editor-notes.md
    Which editor you chose, key commands, mistakes made.
  • git-reference.md
    Local Git commands, what they do, and your commit workflow.
  • challenge-notes.md
    The exact commands you ran for each challenge, with output. If something failed, document what you tried.
Resources
All phases