🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #47960

Re: How do I do thins

#47960
From: Terry Porter
Date: Fri, 25 Dec 1998 00:00
37 lines
1739 bytes
On Thu, 24 Dec 1998 09:21:06 +1100, Stephen Schwetz 
<darteng@aljan.com.au> wrote:
>How Do I get my linux box to insert this into my netscape signature file
>and keep it updated... I Take it that I need to use cron and echo the
>output of uptime somehow but how do I do it?
>
>> My Computer is powered by GNU-LINUX, and has been
> > up 2 days 1 hour 22 minutes
That looks a lot like my sig :-)

............................/home/tp/siggen.............................
#!/bin/sh

  echo "**** To reach me, use tjporter@odyssey.apana.org.au ****">./.signature
  echo "   My Computer is powered by GNU-LINUX, and has been ">>./.signature
  up >> ./.signature
  echo "..........NOTE Spam protection in use...................">>./.signature
...............................................................................



cron executes "siggen" every hour, with "up" generating the "up 2 days 1 hour
22 minutes", but you can use "uptime" (on a redhat box). "up" may be found
with a search on freshmeat.

>
>Thanks
>
>Stephen Schwetz
>

terry
-- 
**** To reach me, use tjporter@odyssey.apana.org.au ****
   My Computer is powered by GNU-LINUX, and has been 
 up 4 days 8 hours 22 minutes
..........NOTE Spam protection in use...................
Technical Details
Message-ID: <slrn784f3n.ihl.tjporter@gronk.apana.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36816CD2.6EDC3E39@aljan.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,d3910aa2e37a235
X-Google-Attributes: gid102983,public
From: tjporter@no-spam.au (Terry Porter)
Subject: Re: How do I do thins
Date: 1998/12/25
Message-ID: <slrn784f3n.ihl.tjporter@gronk.apana.org.au>
X-Deja-AN: 425685234
References: <36816CD2.6EDC3E39@aljan.com.au>
Organization: APANA Western Australia (http://www.wa.apana.org.au/)
Reply-To: No-Spam
Newsgroups: aus.computers.linux