Scripting

Zimbra distribution list commands

This is just a short post describing Zimbra distribution list (mailinglist) commands. These commands should be run as the zimbra user # su – zimbra List all distribution lists # zmprov gadl Print only members addresses of a distribution list # zmprov gdl mailinglist@example.com | grep zimbraMailForwardingAddress: | awk {‘print $2’} Show if a list […]

Read More
Linux

Create a Debian Lenny installation USB stick

This is a short post that describes how to prepare your USB memory stick for a base installation of Debian Lenny. This will most likely also work on Debian based distributions like Ubuntu. Download the latest Debian boot.img.gz file # wget http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz Download the latest Debian netinst ISO image # wget http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso Connect the USB […]

Read More
Network

iptables connection tracking table full

I’ve recently experienced that my workstation (Ubuntu Jaunty Jackalope, 9.04, x86_64) “hangs” periodically when my internet browser, Mozilla Firefox, has a lot of active tabs. In my case I had > 100 active tabs in more than 20 windows. I know I should have closed some of them but that is not an option right […]

Read More
Linux

chmod only files or folders

This post is just a personal note on how to chmod files or directories recursively Recursive chmod only files within this folder find . -type f -exec chmod 0600 {} ; Recursive chmod only folders within this folder find . -type d -exec chmod 0755 {} ;

Read More
Windows

Search Wikipedia using the command line

This post describes how you can search Wikipedia from the command line using a DNS tool like nslookup in Windows or dig in linux. Handy if you don’t wan’t to open a Internet browser to do a simple Wikipedia query. Windows This is how it’s done in Windows Choose Start -> Run Write “cmd” and […]

Read More