Pages

Topics

Tools

↑↓navigate↵openescclose

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

Latest Linux guides

3D illustration of stdin stdout and stderr descriptor streams routed through strict pipefail error-handling gates
Linux

Linux 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.

LinuxBashScripting
3D illustration of block device partitions mounted to a directory tree with disk block and inode capacity gauges
Linux

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.

LinuxStorageSysAdmin
3D illustration of five-field crontab clock triggers contrasted with calendar-accurate systemd timer schedulers
Linux

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.

LinuxAutomationSysAdmin
3D illustration of socket state tables, DNS lookup paths and network routing layers being inspected layer by layer
Linux

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.

LinuxNetworkingDebugging
3D illustration of encrypted SSH tunnel pipes forwarding local and remote TCP ports through a bastion host
Linux

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.

LinuxSSHNetworking
3D illustration of a Linux process tree prioritized by nice scheduler weights and controlled by SIGTERM and SIGKILL signals
Linux

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.

LinuxProcessesSysAdmin
3D illustration of directory tree walkers streaming null-delimited file paths into parallel xargs worker batches
Linux

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.

LinuxCLIFile System
3D illustration of raw log text flowing through grep regex filters, sed stream editors and awk columnar aggregators
Linux

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.

LinuxCLIText Processing
3D illustration of a systemd PID 1 supervisor managing service unit lifecycles and structured journald log streams
Linux

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.

LinuxsystemdSysAdmin
3D illustration of an octal rwx permission matrix with ownership badges, setuid locks and a sticky bit shield
Linux

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.

LinuxPermissionsSecurity