Andrew McCombe


Full Stack Web Developer

Job Control Commands: fg, bg and ctrl-z

I have a script polling a Beanstalkd queue and needed to put it into the background, and bring it to the front whilst debugging it.


Filter Apache logs to exclude js, css and images

Quite often I find myself having to filter Apache logs to exclude JS, CSS and images. I use a combination of cat and egrep to achieve this.