Run grep denied /var/log/auth.log.
grep denied /var/log/auth.log
Search, number, and limit log evidence in one bounded pipeline.
Text and logsgrepnlhead
Click any instruction for the command details, the why, and the common mistake to avoid.
Run grep denied /var/log/auth.log.
grep denied /var/log/auth.log
Run grep denied /var/log/auth.log | nl.
grep denied /var/log/auth.log | nl
Run grep denied /var/log/auth.log | nl | head -n 3.
grep denied /var/log/auth.log | nl | head -n 3
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 building a readable multi-stage text pipeline.
Start with grep denied /var/log/auth.log, inspect the result, then continue in order.
Building a readable multi-stage text pipeline helps operators explain what they know before they change anything.
head|tail [-n N] <file>
Read the beginning or end of a file.
grep [-i] <text> <file>
Find literal text inside a file.
nl [file]
Number lines from a file or supported text pipeline.