#!/bin/csh # pingfred # ----------------------------------------------------------------------------- # C shell script to test Fred's gmail address # ----------------------------------------------------------------------------- # Revision History: # $Log$ # ----------------------------------------------------------------------------- set timestamp = `date "+%Y_%m_%d__%H_%M_%S"` set name = `hostname -s` mail -s "PingTest $timestamp from $name to fredstluka@gmail.com..." fredstluka@gmail.com < /home/fred/.signature