#!/bin/sh
/sbin/ifconfig $1 | grep Mask: | sed 's/.*Mask:\([0-9.]*\)$/\1/g' 
