From owner-freebsd-questions Wed Apr 3 6:11:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id EE21537B400 for ; Wed, 3 Apr 2002 06:11:44 -0800 (PST) Received: from user-119aekg.biz.mindspring.com ([66.149.58.144] helo=ns.flncs.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16slUG-00058p-00 for freebsd-questions@FreeBSD.org; Wed, 03 Apr 2002 06:11:44 -0800 Received: from moti (cylex [12.27.148.78]) by ns.flncs.com (Postfix) with SMTP id 5A59420696 for ; Wed, 3 Apr 2002 09:16:21 -0500 (EST) Message-ID: <02ba01c1db19$d8653020$fd6e34c6@moti> From: "Moti Levy" To: References: Subject: Re: scripting - how to learn Date: Wed, 3 Apr 2002 08:22:00 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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 http://www.shelldorado.com/ is a nice place to start ... also look for bash scripting how to . ----- Original Message ----- From: "Kathy Quinlan" To: Sent: Wednesday, April 03, 2002 5:15 AM Subject: scripting - how to learn > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message