From owner-freebsd-questions@FreeBSD.ORG Tue Jul 26 20:08:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B0BD106564A for ; Tue, 26 Jul 2011 20:08:19 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E27168FC0C for ; Tue, 26 Jul 2011 20:08:18 +0000 (UTC) Received: by gxk28 with SMTP id 28so703799gxk.13 for ; Tue, 26 Jul 2011 13:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=vFbCNUgl+GaQw+NEIWJxsImRU+IrIWX4keo36rHqYeY=; b=ex0E/ZpgufEdTDHs1OQjd1Rj9jyqUzXYibyJTGKeSnS6k/wr9oDtOtTFbSSLXJw/wK Fzs02TxARdp4CKNPC8il27G+5GiGpBMXmRGWm/7Qd99ddbs4PEi//V1F+YNk0vWukCsL B0UZfsXG/+PhDmPeUN5/PylDHlYsXoX20aBBM= MIME-Version: 1.0 Received: by 10.231.193.137 with SMTP id du9mr6314167ibb.136.1311710897870; Tue, 26 Jul 2011 13:08:17 -0700 (PDT) Received: by 10.42.172.199 with HTTP; Tue, 26 Jul 2011 13:08:17 -0700 (PDT) In-Reply-To: <4E2F1C0F.4040108@msen.com> References: <4E2F1C0F.4040108@msen.com> Date: Tue, 26 Jul 2011 20:08:17 +0000 Message-ID: From: Antonio Olivares To: Mark Moellering Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: Book recommendations (slightly OT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2011 20:08:19 -0000 On Tue, Jul 26, 2011 at 7:57 PM, Mark Moellering wrote: > I want to automate some tasks, creating directories, file editing, etc. = =A0I > was going to pick up a book on shell scripting but wanted to ask the list > if; > A) I am barking up the wrong tree and should use something else. > B) If I am headed in the right direction, what is the best book / resourc= e > to use? > > Thanks in advance Mark, There are many utilities out there and programs, I would recommend visiting http://www.freebsd.org/projects/newbies.html In that page, several references are given, including but not limited to the powerful handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics.html A nice short introduction: http://8help.osu.edu/wks/unix_course/ Chris several posts ago recommended me visit a nice page: http://steve-parker.org/sh/eg/directories/ You can look over several pages, there are many out there that you can get without paying $$, and also there's another document by William Shotts that could be of help: http://linuxcommand.org/tlcl.php Don't worry that it says that it is for linux, it can be used on freebsd too!, just be careful if you don't have bash shell, /bin/bash, change to /bin/sh and the script should work, just make sure that commands are not linux specific :) Regards, Antonio