← Categories

Linux

File system, permissions, processes, scripts, and real incidents: theory plus browser-based Linux.

Linux on Windows: WSL

Your own Linux environment next to Windows, for running tasks locally.

Linux: basics

The bare minimum. Without it, nothing later will work.

Linux: booting

What happens from pressing the power button to login: firmware, bootloader, kernel, initramfs, systemd, udev.

Linux: processes in depth

Lifecycle, states, signals, zombies, daemons, and watching processes.

Linux: file system in depth

File types, links, /proc and /sys, tmpfs, partitions, swap, RAID.

Linux: memory

Virtual memory, pages, page cache, swap, and the OOM killer.

Linux: isolation

Namespaces, cgroups, and how an ordinary process becomes a container.

Linux: administration

systemd, logs, packages, cron, disk, limits: keeping a server running.

01 · theory
systemd: units and services

How systemd starts and keeps services running: unit files, systemctl, autostart, and dependencies.

13 min · medium
02 · theory
Service logs: journald and journalctl

Where systemd stores logs and how to read them: journalctl, filtering by unit, time, and priority, and following in real time.

11 min · medium
03 · theory
Package managers: apt, dnf, apk

How to install and update software across distros: repositories, update vs upgrade, and the difference between apt, dnf, and apk.

10 min · easy
04 · theory
Schedules: cron and crontab

How to run jobs on a schedule: the five-field crontab format, common mistakes, and where the output goes.

10 min · easy
05 · theory
Environment variables and .env

What environment variables are, how processes set and inherit them, and why app config lives in the environment.

10 min · easy
06 · theory
Disk: df, du, mount, inode

Where disk space goes and why you get "disk full": df vs du, mount points, inodes, and deleted-but-open files.

11 min · easy
07 · theory
JSON and jq

How to parse JSON in the shell: jq for filtering fields, arrays, and API output without eyeballing it.

10 min · easy
08 · theory
File systems and inodes

What an inode is, why "there's space but the file won't create", and how a hard link differs from a symlink.

10 min · easy
09 · theory
File descriptors and /proc/<PID>/fd

What an fd is, where "too many open files" comes from, and how to find a descriptor leak.

10 min · medium
10 · theory
Process limits: ulimit, limits.conf, and systemd

Soft and hard limits, the open-files limit under load, and where to raise them for services.

10 min · medium

Linux: security

SSH keys and config, hardening, image scanning, least privilege.

Linux: tools

Users and sudo, host networking, regular expressions, archives.

Terminal: getting oriented

Where things live and how to look at them. Linux in the browser, nothing to install.

Terminal: text and search

grep, awk, sed, find, and pipes. Learn to pull what you need out of logs and configs.

Terminal: bash scripts

Writing scripts you wouldn't be ashamed to drop into /opt/scripts on a server.