10
10 Mar 2014
Revision History | ||
---|---|---|
Revision 6.5 | 05 Apr 2012 | mc |
'TUNGSTENBERRY' release | ||
Revision 6.6 | 27 Nov 2012 | mc |
'YTTERBIUMBERRY' release | ||
Revision 10 | 10 Mar 2014 | mc |
'PUBLICDOMAIN' release |
Abstract
This tutorial assumes no previous knowledge of
scripting or programming, yet progresses rapidly toward an
intermediate/advanced level of instruction . . . all
the while sneaking in little nuggets of UNIX® wisdom and lore. It
serves as a textbook, a manual for self-study, and as a reference and
source of knowledge on shell scripting techniques. The exercises
and heavily-commented examples invite active reader participation,
under the premise that the only way to really learn
scripting is to write scripts
.
This book is suitable for classroom use as a general introduction to programming concepts.
This document is herewith granted to the Public Domain.
No copyright!
Table of Contents
/dev
and /proc
.bashrc
and
.bash_profile
FilesList of Tables
List of Examples
/usr/bin/test
, [ ],
and /usr/bin/[
$*
and $@
behavior$*
and $@
when
$IFS
is emptyin [list]
in a
for loop[list]
in
a for loop with command substitution/usr/X11R6/bin
/etc/rc.d/init.d
stdin
using
execstdout
using
execstdin
and
stdout
in the same script with
execstdin
and stdout
redirected)/dev/tcp
for
troubleshooting/dev/zero
.bashrc
file.bash_profile
file