Pario TechnoBlob
About
Posts
Tag: perl
Install Geo::IP Perl Module on Debian Etch
This post describes how to install MaxMind Geo::IP perl module on Debian Etch. You need the GeoIP C library (that includes also the free GeoLite Country database). This is...
Hints and Tips for general shell script programming
WARNING: this will fail if the user is playing with $0 For example using a symbolic or hard link with a unexpected name. # Simplest... # PROGNAME=
type $0 | awk '{print $3}'
#...
Courier-IMAP to Dovecot Migration Script
I’ve just migrated a couple of servers from Courier-IMAP to Dovecot, and am very happy with the latter so far. I thought I’d share the courier2dovecot shell script I whipped...
Lesing av nagios.log
perl -pe 's/(\d+)/localtime($1)/e' nagios.
««
«
1
2
3
4
»
»»