From owner-freebsd-questions Wed Apr 3 2:14:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta05bw.bigpond.com (mta05bw.bigpond.com [139.134.6.95]) by hub.freebsd.org (Postfix) with ESMTP id 18D9637B417 for ; Wed, 3 Apr 2002 02:14:28 -0800 (PST) Received: from wskatinka ([144.135.24.78]) by mta05bw.bigpond.com (Netscape Messaging Server 4.15 mta05bw Feb 26 2002 03:44:21) with SMTP id GTZLS200.9EC for ; Wed, 3 Apr 2002 20:14:26 +1000 Received: from CPE-144-137-227-234.wa.bigpond.net.au ([144.137.227.234]) by bwmam04.mailsvc.email.bigpond.com(MailRouter V3.0i 29/3094620); 03 Apr 2002 20:14:26 From: "Kathy Quinlan" To: Subject: scripting - how to learn Date: Wed, 3 Apr 2002 18:15:31 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I just created a small script (see ddclient and Dynamic DNS servers thread) In my script I run the line : ddclient - >> /var/log/ppp.ddns Now where do I learn scripting like this, (I remembered that a script is just multiple command line entries) and remembered the append idea (I did a multi user operating systems course in college 3 years ago lol) I have read through the tcsh man page, and found some useful stuff, where do I learn more ? Like how to send an email when the script runs with the new IP # the time the connection took place, how long the connection is up, and stats IE mb sent and received ?? (just need pointers on where to find the info, as I find the best way to learn is to write scripts and debug them :o) Regards, Kat. ____________________________________________________________________________ /"\ ASCII Ribbon Campaign | K.A.Q. Electronics \ / - NO HTML/RTF in e-mail | Software and Electronic Engineering X - NO Word docs in e-mail | Perth Western Australia / \ | Ph +61 419 923 731 ____________________________________________________________________________ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.342 / Virus Database: 189 - Release Date: 14/03/2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message