Linux Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=2649
Answer
Linux fundamentals are the layers every task touches: hardware, the kernel, user space (libraries, shells, services), the distribution that packages them, and the user session with its shell, environment and PATH.
Remember
Always record distribution, release, kernel and architecture first — package names, default paths and tools differ between Debian/Ubuntu and RHEL-family systems. Many "Linux" problems are really environment problems: a different user, shell or PATH than you think.
First checks
cat /etc/os-release— distribution and releaseuname -r— running kerneluname -m— CPU architectureid— current user, groupsecho $SHELL; ps -p $$— login shell and the shell actually running
Commands
lsblk -fdf -hTip -br addrip routesystemctl list-units --type=service --state=runningss -tulnp
Verify in this order
distribution and release → running kernel → user and session → shell and environment → the program and its config → result
Where it usually breaks
First mismatch in persistent intent → provider/parser/generator → kernel/userspace runtime → dependency/security context → logs/counters → consumer-visible read-back; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2649