CSE Roadmap

Level 12 of 12 · about 2 weeks

Linux in practice and interview prep

The commands that show processes, memory, files and disks, the /proc and /sys files behind them, tracing system calls with strace, finding performance problems with the USE method, signals, crashes and debuggers, and the classic operating-systems interview questions with worked answers.

Modules

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

  1. 1

    The Linux toolbox, which command answers which question

    Map each operating-system idea to the command that shows it, and read one process from five sides

    Core 6 parts · about 3 hours

  2. 2

    The /proc and /sys file systems

    How the kernel shows its own state as files, and how to write a small process lister from them

    Core 6 parts · about 3 hours

  3. 3

    Tracing system calls with strace

    See every request that a program makes to the kernel, find the call that failed, and count what a command really does

    Core 7 parts · about 3 hours

  4. 4

    Finding performance problems, the USE method

    Check utilisation, saturation and errors of each resource in turn, and tell a CPU problem from a disk problem by the numbers

    Core 7 parts · about 3 hours

  5. 5

    Signals, crashes and debuggers

    How a process is told to stop, what the numbers 137 and 139 mean, and how to find the line that crashed a program

    Core 7 parts · about 3 hours

  6. 6

    Interview practice, the classic operating-systems questions

    A way to structure an answer, model answers to the questions that come up most, and three debugging drills

    Common 8 parts · about 3 hours