CSE Roadmap

Level 1 of 12 · about 2 weeks

Processes

What a process is, how Unix creates, connects and ends processes, and how to build a small shell.

Modules

Core: everyone needs it. Common: most jobs use it. Specialist: optional depth, safe to skip on a first read.

  1. 1

    What a process is

    A running program and the parts of memory it owns

    Core 7 parts · about 3 hours

  2. 2

    Process states and the process control block

    What a process is doing now, and the record the kernel keeps about it

    Core 6 parts · about 3 hours

  3. 3

    Creating processes: fork, exec, wait and exit

    How Unix starts, runs and ends a process

    Core 6 parts · about 4 hours

  4. 4

    Building a small shell

    Read a line, fork, exec, wait, and why cd is built in

    Core 6 parts · about 4 hours

  5. 5

    Context switching

    How the kernel stops one process and starts another, and what it costs

    Core 6 parts · about 3 hours

  6. 6

    Signals

    Short notifications that the kernel and other processes send to a process

    Core 6 parts · about 3 hours

  7. 7

    Pipes and redirection

    Connecting processes by their file descriptors

    Core 6 parts · about 3 hours

  8. 8

    Zombies, orphans and daemons

    How a process ends, who cleans up, and how background services start

    Core 6 parts · about 3 hours