Run du -sh /var/log.
du -sh /var/log
Review log size and line counts before cleanup decisions.
Security administrationdufindwc
Click any instruction for the command details, the why, and the common mistake to avoid.
Run du -sh /var/log.
du -sh /var/log
Run find /var/log -name log.
find /var/log -name log
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.
Measure logs before deciding anything.
Use du, find, and wc.
Retention decisions should be evidence-aware.
wc [-l] <file>
Count lines, words, and characters.
find [path] [-name text]
Search lab filesystem paths.