my signature script

m.w.chang mwchang
Mon May 17 11:35:31 PDT 2004


# /etc/crontab
# echo uptime to signature
45  *  *  *  *  root /sbin/signature

#/bin/sh
# I am using Mozilla on Window$
outfile="/home/samba/public/upload/toylet.sgn"
la=`/bin/uname | tee`
lb=`/bin/uname -r | tee`
lc=`/usr/bin/uptime | tee`
echo "  .~.    Swiftly. Silently. Invisibly. In $la we trust." > $outfile
echo " / v \\  " $lb - $lc >> $outfile
echo "/( _ )\\  http://www.linux-sxs.org" >> $outfile
echo "  ^ ^    news://news.hkpcug.org" >> $outfile


-- 
     .~.     Swiftly. Silently. Invisibly. In Linux we trust.
    / v \
   /( _ )\   http://www.linux-sxs.org
     ^ ^     news://news.hkpcug.org




More information about the Linux-users mailing list