On Sun, 2002-12-29 at 11:08, mike wrote: > I was wondering how you use these programs.I found the man page for "Fortune" > but nothing for these other thingies. > > Mike
FORTUNE lies in /usr/games - hence, not in the path. You can create a symlink to the binary, though - by doing: ln -s /usr/games/fortune /usr/bin/fortune ...the fortune datafiles lie in /usr/share/games/fortune - so if download heaps of dat files for fortune, you can have thousands and thousands of non-repeating fortunes - jeepers! You can do amazing things with those fortunes - such as how a custom signature is created...the following is an example of the script that I use to generate a new signature every five minutes (running the script through KCron): ---------------------------------------------------------------------- date > /tmp/date.txt fortune > /tmp/fortune.txt uptime > /tmp/uptime.txt sed r /tmp/date.txt /tmp/uptime.txt > /tmp/mdate.txt sed r /tmp/mdate.txt /root/signature.txt > /tmp/signature_temp.txt sed r /tmp/signature_temp.txt /tmp/fortune.txt > /root/final_signature.txt fortune > /etc/motd ---------------------------------------------------------------------- The last bit sends an motd to each user that logs in...not really necessary, but cute... -- Sun Dec 29 11:15:00 EST 2002 11:15am up 16:53, 6 users, load average: 0.34, 0.80, 1.33 ------------------------------------------------------------------ | __ __ | kuhn media australia | | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=================================| | _ / `._ \|_|_.-' | stephen kuhn | | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ |"""""""""| | email: [EMAIL PROTECTED] | | |'. `\ | | | icq: 5483808 | | ;"""/ / | | | | | smk ) /_/| |.-------.| | mobile: 0410-728-389 | | ' `-`' " " | Berkeley, New South Wales, AU | ------------------------------------------------------------------ * linux user:267497 * RH 7.3+ * PC/Mac/Linux/Networking/Consulting ------------------------------------------------------------------ 3M, under the Scotch brand name, manufactures a fine adhesive for art and display work. This product is called "Craft Mount". 3M suggests that to obtain the best results, one should make the bond "while the adhesive is wet, aggressively tacky." I did not know what "aggressively tacky" meant until I read today's fortune. [And who said we didn't offer equal time, huh? Ed.]
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com