Hands-on task
IP allowlist from access requests
Colleagues sent access requests in /root/access_requests.txt — the text contains IP addresses, and not all of them are real: someone made a typo and wrote an octet greater than 255. Collect into /root/allowlist.txt only valid IPv4 addresses (each octet 0–255) — one per line, no duplicates.
- grep -oE
- alternation
- ipv4
- word boundaries
- sort -u