Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

7.2. Quick Reference

Common Exam Traps

TrapCorrect Understanding
systemctl enable vs startenable = boot; start = now; need both for immediate + persistent
usermod -G vs -aG-G replaces all groups; -aG appends
lvextend without resize2fsLV grows but filesystem doesn't — always resize the filesystem too
firewall-cmd without --permanentRuntime only — lost on reload/reboot
SELinux Permissive modeLogs denials but enforces NOTHING
xfs_growfs argumentUse mount point, not device path
rsync trailing slash/source/ = contents; /source = directory itself
nohup without &Still runs in foreground — need both
kill -9 on D state processCannot kill — it's waiting in kernel I/O
git pushPushes current branch only — not all branches
touch /.autorelabel after recoveryRequired on SELinux systems after password reset in recovery
dd source/destination orderif= is source, of= is destination — reversed = disk destruction
fsck on mounted filesystemNever — will corrupt data; unmount first

Distro Differences

TaskRHEL/Rocky/FedoraDebian/Ubuntu
Package managerdnfapt
Apache packagehttpdapache2
Default firewallfirewalldufw
Default MACSELinuxAppArmor
Auth log/var/log/secure/var/log/auth.log
General log/var/log/messages/var/log/syslog
Init script dir/etc/sysconfig//etc/default/
sudo groupwheelsudo
Initramfs rebuilddracut -fupdate-initramfs -u
GRUB updategrub2-mkconfig -o /boot/grub2/grub.cfgupdate-grub
Network configNetworkManager / nmcliNetplan / nmcli
Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications