Hi, I am a newer for Bourne shell, I have a log file for a unix system, it some thing like:
35.75.253.207 - - [17/Aug/2003:12:42:37 +1000] "GET /products/orgonizer/title.png HTTP/1.1" 200 1555 "-" "Mozilla 1.4"
Now I want to list 10 most requested files in the log in a descending order, it something like
157 /index.html
129 /title.gif
...
How should I count the duplicate file and display the number of requested in front of the file requested, like above, is there command avaliable to achieve that? I just know sort -nr is displaying the above in a descending order.
Thanks for help