EasyHands-on taskLinux
Write a Bash one-liner to list the top 5 IP addresses by request count in an nginx access log.
This answer is part of Pro
66 of 758 DevOps / SRE answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousA production host has intermittent latency spikes. Describe how you would investigate using Linux tools without installing heavy software.Next Write a Bash script that checks disk usage and exits non-zero if any mounted filesystem is above 85%.