Zero to Codex
Course map
Level 0Computers Are Not MagicFree

File types and contents

Files, folders, paths, file types, programs, and terminals.

Read

File types and contents

This lesson focuses on "File types and contents" as one concrete part of computer basics: Turn icons and vague computer words into concrete objects: files, folders, paths, programs, and terminals. and how to prove it with the smallest real operation. The example uses macOS: file package.json 2>/dev/null || true; Windows: Get-Item package.json | Select-Object Name,Length,LastWriteTime; read it through this lens: file identifies a file type.

Think of it this wayIt is like naming the tools in a kitchen before trying to cook with them. In this lesson, "File types and contents" is one concrete move: define inputs, outputs, and boundaries, then verify it with a command or Codex task.

Key points

  1. 1

    Explain the concept in your own words: It is like naming the tools in a kitchen before trying to cook with them. In this lesson, "File types and contents" is one concrete move: define inputs, outputs, and boundaries, then verify it with a command or Codex task.

  2. 2

    Verify it with a real observation: macOS: file package.json 2>/dev/null || true; Windows: Get-Item package.json | Select-Object Name,Length,LastWriteTime.

  3. 3

    Read the output through this meaning: file identifies a file type.

  4. 4

    Before moving on, answer: how does the output prove "File types and contents"?