Run grep denied /var/log/auth.log | nl | head -n 3.
grep denied /var/log/auth.log | nl | head -n 3
Checkpoint numbered logs, sorted comparisons, and bounded pipelines.
Text and logsgrepnlcommwc
Click any instruction for the command details, the why, and the common mistake to avoid.
Run grep denied /var/log/auth.log | nl | head -n 3.
grep denied /var/log/auth.log | nl | head -n 3
Run comm data/users-a.txt data/users-b.txt.
comm data/users-a.txt data/users-b.txt
Run wc -l /var/log/auth.log.
wc -l /var/log/auth.log
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.
Build repeatable confidence with combining text tools into defensible evidence.
Start with grep denied /var/log/auth.log | nl | head -n 3, inspect the result, then continue in order.
Combining text tools into defensible evidence helps operators explain what they know before they change anything.
grep [-i] <text> <file>
Find literal text inside a file.
wc [-l] <file>
Count lines, words, and characters.
nl [file]
Number lines from a file or supported text pipeline.
comm <left> <right>
Compare two sorted text files line by line.