[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell scripting book
- To: Hetz Ben Hamo <hetz-home(at-nospam)cobol2java.com>
- Subject: Re: shell scripting book
- From: "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>
- Date: Thu, 26 Jul 2001 17:19:58 +0300
- Cc: ILUG <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Hebrew-Date: 6 Av 5761
- In-Reply-To: <200107261413.RAA28613@mail.intercomp-sys.com>; from hetz-home@cobol2java.com on Thu, Jul 26, 2001 at 04:45:45PM +0300
- References: <200107261413.RAA28613@mail.intercomp-sys.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2i
On Thu, Jul 26, 2001, Hetz Ben Hamo wrote about "shell scripting book":
> Hi,
>
> Few people have asked me about a good book to learn shell scripting...
>
> Any recommendations, people? are there online tutorials? back when I started
> there was an oreilly book, but I lost it and can't remember it's name...
It depends what you mean by "shell scripting". There are two possible ways
to read this:
1. How to use a given shell (say, bash or zsh)
or
2. How to use Unix utilities (like ls, grep, awk, sort, date, etc.) from
within a shell.
Kernighan & Pike's "The Unix Programming Environment" was an *excellent*
book explaining both issues (as well as a lot of other advance stuff!), but
it is quite outdated by now (it was published in 1984, but it still in print -
I bought a copy last year). I don't know what book with comparable quality
is recommended now.
If you're like many Linux users out there - already familiar with the basic
Unix commands (ls, date, grep, etc.) but want to learn how to write shell
scripts ("WTF is that 'fi'? Why not 'endif'?"), or generally use your shell
in a more efficient manner, then you need a book only on issue #1 above.
In that case I recommend Zsh, and you can find documentation on it in
http://sunsite.dk/zsh/
(it's quite possible to learn zsh from these documentations - it includes a
somewhat-old introduction, and more updated reference manuals)
Under no circumstances use csh or tcsh. Search google for "csh considered
harmful" for an explanation on why (the article was written by Perl guru Tom
Christiansen).
--
Nadav Har'El | Thursday, Jul 26 2001, 6 Av 5761
nyh@math.technion.ac.il |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |I am logged in, therefore I am.
http://nadav.harel.org.il |
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il