Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Count Unique IPs in Logs
Medium
Asked at 1 company
shell scripting
Hash Tables
log parsing
Problem
Write a shell script to parse a log file and count the occurrences of unique IP addresses.
Question
Answer
Problem
Write a shell script to parse a log file and count the occurrences of unique IP addresses.
Your answer
Edit
Preview
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.
0 words
target ~200
Try a free preview
Stuck? Get a hint
Past attempts
Up next
Parse Web Logs for Unique IPs
Medium
Count Unique Errors from Logs
Medium
Parse Firewall Logs for Unique IPs
Medium
Next question
Count Unique IPs in Logs | Dataford Interview Questions