Zero to Codex
Course map
Level 0Computers Are Not MagicFree

What is a file?

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

Read

What is a file?

This lesson focuses on "What is a file?" 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: ls -la; Windows: Get-ChildItem -Force | Format-Table Mode,Length,LastWriteTime,Name; read it through this lens: ls lists directory contents so you can confirm files and folders exist.

Think of it this wayIt is like naming the tools in a kitchen before trying to cook with them. In this lesson, "What is a file?" 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, "What is a file?" 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: ls -la; Windows: Get-ChildItem -Force | Format-Table Mode,Length,LastWriteTime,Name.

  3. 3

    Read the output through this meaning: ls lists directory contents so you can confirm files and folders exist.

  4. 4

    Before moving on, answer: how does the output prove "What is a file?"?