Umm how do you get all those uptime/kernel/shoe size stat's at the bottom of your emails...

Andrew Mathews andrew_mathews
Mon May 17 11:30:55 PDT 2004


James McDonald wrote:
> 
> The subject says it all...
> James
> _______________________________________________

Personally, I use the script attached to this message. Find and install
the fortune rpm most appropriate available at:
http://speakeasy.rpmfind.net/linux/rpm2html/search.php?query=fortune-mod
This is the base rpm. Then if you want more (there's a bunch) see:
http://speakeasy.rpmfind.net/linux/rpm2html/search.php?query=fortune-&submit=Search+...&system=&arch=
Save the script in an executable directory such as /usr/local/bin, chmod
a+x to make it executable and add it to your crontab.
Be sure to change the info as needed, you don't want my .sig in your
messsages. <g>
Watch out for wordwrap in the script, it will fubar it.
If you need help let me know.
HTH,
-- 
Andrew Mathews
------------------------------------------------------------
  1:55pm  up 18 days, 17:30,  8 users,  load average: 1.16, 1.33, 1.34
------------------------------------------------------------
Picking up a man in a bar is like a snowstorm, you never know when
he's coming, how many inches you'll get or how long'll he'll stay.
-------------- next part --------------
#/bin/sh
echo "-----" > /home/andy/.signature
echo "Andrew Mathews" > /home/andy/.signature
#
#
# 
echo "------------------------------------------------------------" >> /home/andy/.signature  
/usr/bin/uptime | tee >> /home/andy/.signature 
echo "------------------------------------------------------------" >> /home/andy/.signature    
/usr/local/games/fortune -o  -s | tee >> /home/andy/.signature






More information about the Linux-users mailing list