Hi,

I have a file in /home that I use as a signature file. Whatever I write in there is displayed as my signature.

In the signature, as you can see below, I would like to have the current machine uptime displayed when the message is put into the Outbox before being sent. I thought that just entering the #!/bin/bash would make it a script. Heck, I even made the file execuatable by the user(me).

How can I get a command, like 'uptime, to execute in a text file whenever the text file is used? Should I leave out the # in the #!/bin/bash command?

How can I achieve this and which man pages would assist?

Tnx
--
#!/bin/bash
echo "================================================================="
echo "Using unpatched SuSE 9.2 Professional with KDE and Mozilla 1.7.2"
echo "Linux user # 229959 at http://counter.li.org";
uptime
echo "================================================================="

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to