Skip to content
Onsite

Write a shell one-liner to find the top 10 client IPs in an Nginx access log.

MediumP2Coding

Write a shell one-liner that prints the 10 client IPs with the most requests in an Nginx access log, with the request count next to each.

Saved automatically

Write or say your answer first, then compare it with the model answer.

Saved automatically