Linux

Essential Linux skills for developers and sysadmins. File permissions, shell scripting, process management, systemd services, and server hardening best practices.

7 articles

Bash Scripting Best Practices for DevOps Engineers
Linux

Bash Scripting Best Practices for DevOps Engineers

Write reliable bash scripts with set -euo pipefail, proper quoting, [[ ]] tests, idempotent patterns, cleanup traps, ShellCheck, and knowing when to switch to Python.

10 min read·
The Linux Networking Stack: From Socket to NIC
Linux

The Linux Networking Stack: From Socket to NIC

Trace a packet through the entire Linux networking stack: socket buffers, the TCP state machine, IP routing, netfilter/iptables, traffic control, and NIC drivers with practical diagnostic tools.

10 min read·
Linux Performance Troubleshooting: A Systematic Approach
Linux

Linux Performance Troubleshooting: A Systematic Approach

Learn the USE method for systematic Linux performance analysis. Master vmstat, iostat, sar, ss, strace, and perf with three real-world troubleshooting scenarios for CPU, memory, and disk bottlenecks.

10 min read·
cgroups and Namespaces: The Building Blocks of Containers
Linux

cgroups and Namespaces: The Building Blocks of Containers

Understand the Linux kernel features behind containers. Learn namespaces for PID, network, and mount isolation, cgroups for CPU and memory limits, and how to build a container by hand with unshare and nsenter.

10 min read·
How Linux Processes Work: Fork, Exec, Signals, and Zombies
Linux

How Linux Processes Work: Fork, Exec, Signals, and Zombies

Understand Linux process fundamentals: fork() and exec() for process creation, the parent-child tree, signals like SIGTERM and SIGKILL, zombie processes, the /proc filesystem, and essential debugging tools.

10 min read·
systemd Demystified: Services, Timers, and Targets
Linux

systemd Demystified: Services, Timers, and Targets

Master systemd unit files, dependency ordering with Wants/Requires/After, timer units as cron replacements, socket activation, and diagnostic tools like journalctl and systemd-analyze blame.

9 min read·
Linux File Permissions Explained: chmod, chown, and ACLs
Linux

Linux File Permissions Explained: chmod, chown, and ACLs

Build the mental model for Linux file permissions from scratch. Learn chmod octal and symbolic notation, chown, umask, setuid/setgid/sticky bits, and POSIX ACLs with real-world scenarios.

12 min read·

Stay in the loop

New articles delivered to your inbox. No spam.