Skip to content
Clairos Learn

38 lessons · UNIX / Linux

Text and logs

Read files, search logs, and use text pipelines.

What you will practice

Viewing text; Grep practice; Log triage; Text pipelines.

Use the worked examples when needed, then test your understanding without them.

  1. 01Viewing textOpen text, search logs, and inspect output without editing files.Practice
  2. 02Grep practiceSearch literal text in logs and practice case-insensitive matching.Practice
  3. 03Log triageInspect access, error, auth, and service logs in a cautious order.Practice
  4. 04Text pipelinesUse safe simulated pipes to count, sort, and deduplicate text output.Practice
  5. 05Paging logsUse less, head, and tail to read logs in chunks.Practice
  6. 06Case-insensitive searchFind text regardless of capitalization.Practice
  7. 07Pipeline countsFilter logs through safe text pipelines.Practice
  8. 08Port text reviewRead, sort, and count a training port list.Practice
  9. 09Config text compareUse grep and diff to compare two config snapshots.Practice
  10. 10Journal windowsRead only the last few simulated journal lines.Practice
  11. 11Kernel log basicsInspect simulated kernel messages for mount and network clues.Practice
  12. 12Package log basicsInspect simulated package activity without installing anything.Practice
  13. 13Access log reviewFilter training HTTP access lines for status and method clues.Practice
  14. 14Error patternsSearch different logs for warning and denied patterns.Practice
  15. 15Redaction notesWrite a safe note that marks sensitive data as redacted.Practice
  16. 16Sed substitutionPreview text replacement without editing a log.Practice
  17. 17Awk column extractionUse awk to pull simple columns from logs.Practice
  18. 18Cut field selectionExtract colon-delimited identity fields.Practice
  19. 19Text case transformsTransform piped text with tr.Practice
  20. 20Capture with teeCapture pipeline output to a lab note.Practice
  21. 21Xargs bridgeTurn text into safe command arguments.Practice
  22. 22Text pipeline checkpointCombine search, field extraction, transform, and counting.Practice
  23. 23Logrotate config reviewRead log rotation settings as text.Practice
  24. 24Logrotate dry runDry-run log rotation without moving files.Practice
  25. 25Journal time windowNarrow journal output before reading a whole service history.Practice
  26. 26Evidence bundleCapture a focused evidence bundle into lab notes.Practice
  27. 27Sed window previewPreview a small text window before searching a large file.Practice
  28. 28Awk service summaryExtract service names from a baseline report.Practice
  29. 29Access log triageSearch access logs for status and route signals.Practice
  30. 30Retention evidence reviewCompare active and rotated logs before retention decisions.Practice
  31. 31Numbered log readingAdd stable line numbers to a short authentication-log view.Practice
  32. 32Sorted account diffUse comm to separate shared and unique account names.Practice
  33. 33Journal line numberingNumber a narrowed service journal so evidence is easy to reference.Practice
  34. 34Three-stage evidence pipelineSearch, number, and limit log evidence in one bounded pipeline.Practice
  35. 35Config substitution previewPreview a port substitution and compare it with the unchanged source.Practice
  36. 36Rotated access comparisonCompare active and rotated access logs before summarizing traffic.Practice
  37. 37Incident template numberingNumber a runbook template so collaborators can reference exact fields.Practice
  38. 38Text evidence bridgeCheckpoint numbered logs, sorted comparisons, and bounded pipelines.Practice