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
Popular guides
Most readLatest guides
Page 22 of 397Linux 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.
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.
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.
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.
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.
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.
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.