Linux guides
Every published Linux guide, newest first, with practical examples you can copy into your own project.
3,815 guides across 14 topics
Topics
Popular Linux guides
Most readLatest Linux guides
Page 2 of 2Linux Bash Scripting: Redirection, Pipes, Exit Codes, and set -euo pipefail
File descriptor order determines where errors go, and exit codes determine whether anyone notices. The strict-mode template that fails loudly.
Linux Disk and Storage: df, du, lsblk, Inode Exhaustion, and fstab Mounts
Bytes and inodes are two different full disks. Reading both, finding held-open deleted files, and writing fstab lines that cannot hang a boot.
Linux Task Scheduling: Crontab Syntax, Environment Traps, and systemd Timers
Five fields and almost no environment: why cron jobs fail silently, how percent signs truncate commands, and what systemd timers add.
Linux Networking Diagnostics: ss, ip, dig, curl, and TCP Troubleshooting
A layer-by-layer path from interface to TLS that localises a failure in five commands, with the socket states and curl timings that identify each cause.
Linux SSH Mastery: Key Auth, ~/.ssh/config, and Local/Remote Port Forwarding
Ed25519 keys, a config file that ends flag memorisation, and the -L, -R and -D tunnels that reach services bound to localhost.
Linux Process Management: ps, lsof, Signals (SIGTERM vs SIGKILL), and nice
Process states that explain why kill -9 does nothing, the signal table, port ownership with ss and lsof, and how niceness actually affects the scheduler.
Linux find and xargs: Recursive File Search and Safe Batch Execution
The NUL-separated pipeline that survives spaces and newlines in filenames, plus -exec batching, -prune logic and parallel workers.
Linux Text Processing: grep, sed, and awk Command Pipelines
Select, reshape, aggregate: the three-stage pipeline that turns raw logs into counts, with the regex, in-place edit and field-separator traps spelled out.
Linux systemd: Managing Services with systemctl, Unit Files, and journalctl
Unit file sections, Type= semantics, restart policies and the daemon-reload step everyone forgets, plus the journal queries that explain the failure.
Linux File Permissions: chmod, chown, umask, and Setuid/Sticky Bits
Octal modes, directory execute bits, umask arithmetic and the three special bits, with the failure modes each one causes in production.