1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh # # $Id: 130.clean-msgs,v 1.1.1.1 1997/08/12 17:51:15 pst Exp $ # # remove system messages older than 21 days # if [ -d /var/msgs ] ; then echo echo "Cleaning out old system announcements:" msgs -c fi