Pages

Topics

Tools

↑↓navigate↵openescclose

All syntax guides

Short, practical guides on programming syntax, language fundamentals, and the tools developers reach for every day.

3,965 guides across 14 topics

Topics

Latest guides

3D illustration of user and group badges passing a layered PAM authentication gate to a sudo privilege lock
Linux

Linux Users, Groups, sudoers, and PAM Access Control

The four account files, the sudoers grammar with aliases and drop-ins, and the PAM stack where logins actually succeed or fail. Includes the flags that lock an account without disabling SSH keys.

LinuxSecuritySysAdmin
3D illustration of inode cubes shared by two directory names beside a symbolic link chip pointing at a file
Linux

Symbolic Links vs Hard Links: ln -s, Inodes, stat, and readlink

One inode with two names versus a file containing a path. Link counts, argument order, the -n flag that decides where a link lands, broken links, and the symlink attacks that follow from careless resolution.

LinuxFile SystemCLI
3D illustration of two servers linked by an encrypted SSH tunnel carrying incremental delta blocks
Linux

rsync, scp, and sftp: Incremental Sync, Delete Flags, and Bandwidth Limits

Why the trailing slash decides whether rsync merges or mirrors, how --delete behaves with filters, safe resume with --partial, and where scp and sftp still beat a delta transfer.

LinuxSSHBackupNetworking
3D illustration of exported environment blocks flowing from a shell into child processes along a PATH search chain
Linux

Linux Environment Variables: export, PATH, and Shell Profile Loading Order

The export boundary between shell and environment variables, why PATH order and the command hash cache decide which binary runs, and the exact file order bash reads for login, interactive, and non-interactive shells.

LinuxShellBashEnvironment
3D illustration of a tar archive box feeding gzip, xz and zstd compression cylinders in a streaming pipeline
Linux

Linux Archiving and Compression: tar, gzip, xz, and zstd Syntax and Trade-offs

tar archives and the compressors only shrink the stream. Argument order, -C path handling, ownership and xattr preservation, streaming over SSH, and which algorithm to pick for size versus speed.

LinuxCLIBackupCompression
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