Free Shell Scripting Guide From Apple – Shell Scripting Premier
Apple has updated its free Shell Scripting Premier Guide, which is freely downloadable from Mac OS X Developer Library website. Chapters included in the freely downloadable Shell Scripting Premier: Available in PDF format together with zip files containing sample scripts as discussed in the book