Category Archives: Snippets

Tids and bits of code.

Easy reloading of Varnish

A co-worker of mine made a nice little script to make reloading of the default VCL that Varnish uses a bit easier. Not wanting to telnet or use varnishadm manually, this script does the trick. This was taken from


To be placed in your .bashrc-file:


Simple lines of code to clean invalid hosts from your .known_hosts-file.