Skip navigation

Category Archives: /dev/blog/n00b/

Here’s an Apache one-liner I often find myself using. It will list all of the server names and alises that are contained in the active Apache config files on a machine. I’ll go into the parts of the command and how to modify it to suit your needs. This assumes a bash-like shell (with grep, sed, sort, tr and a for loop), root (or permission to run the httpd binary directly) and if you wish to modify the examples, a little command-fu.

Read More »

Facebook LikeI notice a lot of people falling for bad links out there on Facebook. I know it’s confusing and they all look alike. That’s why I’m going to share the geek tricks for not getting fooled. This is part one where we’ll look at the practical reasoning and red flags you should be aware of. In part two, we will explore the technical details of what’s going on. Read More »