Hi, I am a newer for Bourne shell, I have a log file for a unix system, it some thing like:
188.8.131.52 - - [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
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