An Introduction to Shell Scripting
by Glen Smith

 
Contact Us

An Introduction to Awk
An Introduction to Shell Scripting

This book is an attempt to teach the fundamentals of Shell Scripting without getting distracted by non-scripting features of the Korn shell like command line editing and aliases. The first half consists of sixteen chapters that gently introduce the shell commands and syntax. The second half of the book is a reference section where each command is covered individually.

This book covers the command and subjects listed below. Note that this does not include awk, which has proved to be worth a book all of it's own. It does, however, include sections on subjects like Double- and Single-quotes, something which I have not seen elsewhere.

&&

$0
$1, $2 ... $9
$#
${#VAR}
$?
$*
$IFS
$RANDOM
$SECONDS
$( )
(( )), $(( ))
>/dev/null 
#!
Arrays
backslash
bc
break
cal
case
cat
Comments
continue
cut
date
Double-quotes
echo
eval
exit
exit-code
expr
false
for
getopts
grep
if
nl
pipe
read
Run-quotes
sed
set
Shell functions
Single quotes
shift
sleep
stty
test
tput
tr
true
typeset
unset
Variables
wc
while
whitespace 
This is by no means all the commands available to the shell programmer, but once you understand most of the subjects above, you will be able to write perfectly good shell scripts.
 
Rather than me singing the praises of the book, download one or more of the PDF samples below and have a look for yourself. I am very happy with the way the book looks and reads, but I'm probably biased.

If you then want to purchase the book, it is available from Amazon. Alternatively you can buy it direct from us for £15.00 including postage and packing (payment by PayPal or cheque), volume discounts available. Please for details.

The following PDF extracts are available, but remain under Copyright Glen Smith 2002
Front Cover
77k
Introduction
185k
Chapter One
314k
Chapter Two
123k
Ref. Examples
237k
Index
15k
Back Cover
107k
The scripts contained in the book are available here.
Last Updated: