Linux and operating systems

About the course

What an OS does: the kernel, processor modes, system calls. The shell, paths and PATH, the directory tree; rwx permissions, chmod and umask, owners and groups, inodes and links. Processes, fork and exec, states, signals, exit codes, && and ||, jobs; redirection, pipelines, grep, cut, sed and awk. root and sudo, apt and dnf packages, systemd services, networking and ssh, cron. Virtual memory and pages, FIFO and LRU, CPU scheduling, deadlocks, bash scripts. Task answers are computed by a model: permissions, paths, pipelines, traces.

Course program: 33 lessons

The operating system and the command line

  1. What an operating system does
  2. The shell and paths
  3. PATH, which and help
  4. The directory tree and file commands
  5. Checkpoint: the OS and the command line

Permissions and the file system

  1. rwx permissions and octal notation
  2. chmod and umask
  3. Owners, groups, /etc/passwd
  4. Inodes and links
  5. Checkpoint: permissions and the file system

Processes

  1. Processes, fork and exec
  2. Process states
  3. Signals and kill
  4. Exit codes, && and ||, jobs
  5. Checkpoint: processes

Streams and text processing

  1. Streams and redirection
  2. Pipelines: sort, uniq, head, wc
  3. grep and patterns
  4. cut, sed and awk
  5. Checkpoint: streams and text

Administration

  1. root and sudo
  2. Packages and repositories
  3. Services and systemd
  4. Networking: addresses, ports, ssh
  5. The cron scheduler
  6. Checkpoint: administration

Inside the OS: memory, scheduling, scripts

  1. Virtual memory and pages
  2. Page replacement: FIFO and LRU
  3. CPU scheduling
  4. Deadlocks
  5. Bash scripts
  6. Checkpoint: memory, scheduling, scripts

Final test

  1. Final test on Linux