#!/bin/sh PERCENT=$1 USER=$2 cat << EOF | /usr/bin/mail -s "---- Quota warning ----" $USER Your mailbox is now $PERCENT% full. EOF