Run grep denied /var/log/auth.log | tee lab/redacted-auth.txt.
grep denied /var/log/auth.log | tee lab/redacted-auth.txt
Capture evidence without copying more than needed.
Security administrationgrepteewc
Click any instruction for the command details, the why, and the common mistake to avoid.
Run grep denied /var/log/auth.log | tee lab/redacted-auth.txt.
grep denied /var/log/auth.log | tee lab/redacted-auth.txt
Run wc -l lab/redacted-auth.txt.
wc -l lab/redacted-auth.txt
Run printf redaction-reviewed > lab/redaction-note.txt.
printf redaction-reviewed > lab/redaction-note.txt
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.
Capture evidence without copying more than needed.
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.
tee <file>
Write piped text to a lab file and keep it on screen.
wc [-l] <file>
Count lines, words, and characters.