Run grep denied /var/log/auth.log | awk '{print $5}'.
grep denied /var/log/auth.log | awk '{print $5}'
Combine search, field extraction, transform, and counting.
Text and logsgrepawktrwc
Click any instruction for the command details, the why, and the common mistake to avoid.
Run grep denied /var/log/auth.log | awk '{print $5}'.
grep denied /var/log/auth.log | awk '{print $5}'
Run printf incident | tr a-z A-Z.
printf incident | tr a-z A-Z
Run grep denied /var/log/auth.log | wc -l.
grep denied /var/log/auth.log | wc -l
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.
Combine search, field extraction, transform, and counting.
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.
awk '{print $N}' <file>
Print a whitespace-delimited field.
tr a-z A-Z
Transform piped text case.
wc [-l] <file>
Count lines, words, and characters.