Text Searching & Regex with Grep
Sponsored AdvertisementAdSense Slot (banner)
Lesson Objectives
Step 1: Simple Pattern Match
Run `grep error /var/log/syslog`.
Step 2: Line Numbering
Run `grep -n -i "accepted" /var/log/auth.log`.
bash — terminal
AST Sandbox (Free)
Sponsored AdvertisementAdSense Slot (leaderboard)