Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 325 Bytes

2_Saskatoon.md

File metadata and controls

12 lines (10 loc) · 325 Bytes

Saskatoon

https://sadservers.com/scenario/saskatoon

# using cut to take only IPs, uniq with counter and sorting, and tail for last entry
# uniq needs sorting before execution
cut -d ' ' -f 1 /home/admin/access.log | sort | uniq -c | sort | tail -1
echo "66.249.73.135" > /home/admin/highestip.txt