Run diff data/config-a.conf data/config-b.conf.
diff data/config-a.conf data/config-b.conf
Compare configs before guessing at a routing issue.
Troubleshootingdiffgrep
Click any instruction for the command details, the why, and the common mistake to avoid.
Run diff data/config-a.conf data/config-b.conf.
diff data/config-a.conf data/config-b.conf
Run grep listen data/config-b.conf.
grep listen data/config-b.conf
Run nginx -t.
nginx -t
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Compare configs before guessing at a routing issue.
Run the commands in order and compare the outputs.
Junior operators build confidence by gathering evidence before changing systems.
grep [-i] <text> <file>
Find literal text inside a file.
diff <left> <right>
Compare two lab text files.