recommended book/guide for /bin/sh shell programming

Jez Hancock jez.hancock at
Thu Aug 7 02:19:17 PDT 2003

On Wed, Aug 06, 2003 at 10:27:38PM +0100, Ceri Davies wrote:
> On Wed, Aug 06, 2003 at 05:21:16PM -0400, Dave [Hawk-Systems] wrote:
> > 
> > As such, am looking for recommendations for a good guide/book or two for shell
> > programming, but most of the books seem to be specific to bash, tcsh, ksh,
> > etc... Given that there is a seperate bash shell port available, I would assume
> > that /bin/sh != bash.  I would prefer to use plain ol /bin/sh since most of the
> > core scripts scattered through the stable installs we have use it.
> My favourite one that covers most of the common shells is "Unix Shell
> Programming" by Stephen Kochan and Patrick Wood.  I have the first edition
> which is from 1989, although there is a new edition released in March 2003
> with ISBN 0672324903.  I don't know that it's any good, but the first edition
> is great for beginners and I can't see any reason why the later edition would
> be any different. have both editions.
I also have this book and would recommend it.

I would also recommend Sams Teach Yourself Shell Programming in 24 Hours
which seems to be available all over the place in HTML format if you
want to search for it on google.

For some really nice hints and tips I highly recommend Unix Power Tools
by Oreilly (in fact all of the Unix Bookshelf books are excellent IMO).
These should be easily available on amazon or at the ORA site or on
oreily's safari site.


More information about the freebsd-questions mailing list