Is the file executable, and is the first line '#/bin/bash'? (KMail also has a box to check saying "The file is s program").
Richard -- "You laugh but no-one's joking The Dreamer's turned you round" -- James A. Peltier, Thursday 21 March 2002 17:10: > NOTE: I can't get this to work with Ximian Evolution. > > my script looks like this > > echo - James A. Peltier > echo - Site-FX Networking > echo - Web : http://www.site-fx.net > echo - E-Mail: [EMAIL PROTECTED] > echo > /usr/bin/uptime > > when I compose a message it just shows the script and not the result. > > On Thu, 2002-03-21 at 07:38, Olly P wrote: > > On Thursday 21 March 2002 07:36, Hylton...typed: > > > How do I get the signature to show the total uptime of the system as > > > well as how many users there are? I would assume with the uptime > > > command but do not know the syntax to use from reading the uptime man > > > page. > > > > -------------------------------------- > > Thursday 21 March 2002 > > > > Here is a piece of a message I ripped from Tom to do mine with > > Hylton... > > > > ............................. > > > > Tom Said: > > You can create a text file and 'chmod -x' it to run any suitable > > executable, eg, /usr/bin/uptime. I do this with kmail by making my > > sig > > executable and placing /usr/games/fortune in it as the last line. > > So > > while it probly varies with email clients, it should be easy to do. > > > > my sig: > > echo ____Tom Brinkman _________________ South Texas, USA_____ > > echo > > /usr/games/fortune > > > > ............................ > > here is my complete executable file in /home/olly/sigprog > > ....... > > #this is a ollymade sig file for e-mail > > echo Olly P......... Biloxi Mississippi ---- Linux MDK 8.0 and > > echo 2.4.3-20 mdk Kmail 2.1.1 > > echo ATX Plll 600mhz Asus CUBX ...384m PC133ram > > echo > > /usr/games/fortune > > > > echo > > /usr/bin/uptime > > ........... > > just put the path to this script in your kmail... > > here is the result ...neat huh? > > pay attention to (echo) > > ----------------------------- > > > > -- > > Olly P......... Biloxi Mississippi ---- Linux MDK 8.0 and > > 2.4.3-20 mdk Kmail 2.1.1 > > ATX Plll 600mhz Asus CUBX ...384m PC133ram > > > > Thu Mar 21 10:36:30 EST 2002 > > > > taxidermist, n.: > > A man who mounts animals. > > > > 10:36am up 1 day, 4:19, 2 users, load average: 0.07, 0.03, 0.00 > > > > ---- > > > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com