Tag Archives: Unix

Unix Tidbit: Most Requested Web Resources

This is a quick and dirty way to find the most requested static resources of your site (e.g., images or javascript files), using Unix shell commands: grep -oE “GET /[^ \t]+\.(gif|png|js|css)” /var/log/httpd/access_log \ | sort | uniq -c | sort … Continue reading

Posted in Unix Tidbits | Tagged | Leave a comment

Unix Tidbit: Color Coded Directory Listing

Each time I move onto a new Unix machine (I recently bought a new iMac!), I change the look of the terminal directory listings, from this: to this: It’s quite simple — I edit one of the bash config files … Continue reading

Posted in Unix Tidbits | Tagged | Leave a comment