Run cat /etc/resolv.conf.
cat /etc/resolv.conf
Click any instruction for the command details, the why, and the common mistake to avoid.
Run cat /etc/resolv.conf.
cat /etc/resolv.conf
Run cat /etc/hosts.
cat /etc/hosts
Run grep nameserver /etc/resolv.conf.
grep nameserver /etc/resolv.conf
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 resolver and hosts file context.
Run the commands in order and compare the outputs.
Junior operators build confidence by gathering evidence before changing systems.
cat <file>
Print text file contents.
grep [-i] <text> <file>
Find literal text inside a file.
stat <path>
Show lab file details.