From owner-freebsd-questions Tue Dec 19 15:59:59 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 15:59:56 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail1.toronto.istar.net (mail1.toronto.istar.net [209.89.75.17]) by hub.freebsd.org (Postfix) with ESMTP id 29F9037B402 for ; Tue, 19 Dec 2000 15:59:56 -0800 (PST) Received: from d141-117-39.home.cgocable.net ([24.141.117.39]) by mail1.toronto.istar.net with esmtp (Exim 2.02 #1) id 148Wg8-0002Pt-00; Tue, 19 Dec 2000 19:00:20 -0500 Date: Tue, 19 Dec 2000 19:06:37 -0500 (EST) From: Dru X-Sender: genisis@x1-6-00-50-ba-de-36-33.kico1.on.home.com To: Drew Tomlinson Cc: "FreeBSD Questions (E-mail)" Subject: Re: URLs For Script Intro for Newbie In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Dec 2000, Drew Tomlinson wrote: > I've had FBSD installed for a couple of months now and have decided that to > further my experience with it I need to start learning about scripts. I > assume I need to learn about the standard /bin/sh shell (<- is this the > correct term?). Can anyone recommend reading or URLs for the beginner? I > have experience with DOS batch file and OpenVMS command procedures so any > reference that makes comparisons with those operating systems would be extra > helpful. > > My immediate need is to write a script that starts my dynamic IP service > client to place in rc.d. If someone could help me with this I'd be most > appreciative. To start it from the command line, I just su to root and type > "dynipclient". How do I put this in a script? Hi Drew, My favourite "I know nothing about scripting but need a script now" URL is: http://www.ocean.odu.edu/ug/shell_help.html Once you've mastered this, try these ones: http://www.oase-shareware.org/shell/ http://www.ling.helsinki.fi/users/reriksso/unix/#shell http://www.shellscripts.com/links.html http://uwsg.ucs.indiana.edu/edcert/session3/shell/ Cheers, Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message