First things first, I am still a perl neophyte. So, this answer contains minimal perl. Also, most of the information can be gotten with few commands. The following could be used as a starting point to make a more elegant perl solution.
You might check out the following...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.