Use grep to isolate relevant log lines.
Mission 10
Grep practice
Search literal text in logs and practice case-insensitive matching.
Text and logs
0/25 lessons
0/7 missions
New learnerrank
0XP
0%complete
learner@clairos:/home/learner $
Unix ops lab: type a command, press Enter
Lesson support
What to notice while you play.
Start with grep denied, then try grep -i nginx.
Fast text search is one of the most valuable terminal habits.
- Searching the wrong file.
- Forgetting -i when case might vary.
Reference
Commands in this lesson.
cat <file>
Print text file contents.
grep [-i] <text> <file>
Find literal text inside a file.