If you're going
admin a Unix box, at home or professionally, you will need to know
shell scripting. No way around it. However, once you know
will miss it on other types of systems! The Unix shell is a
powerful programming language and interactive environment combined.
The classic book: Unix
Check it out on Amazon here
The best way to discover shell features is...
Read the man page. Really. Spend some
time reading the output of man sh from beginning to end
(later, read the man
pages for bash
and ksh ,
which are supersets of sh.) You may not understand everything you
see, but you may recall later that you saw a feature you wanted there,
and of course you can always go back for another look. You will
also start getting the hang of the syntax, the various options, and
what some of those funky (but ubiquitous) reserved variables like $@ and @# are for. Also...
play with the shell (interactively
and in scripts), and plagiarise existing shellscripts shamelessly
:) System scripts like those in /etc/init.d
are particularly instructive.
Unix Shell Patterns
Some HOWTOs for
avoiding common problems
Some of my Shell Script utilities
and C++ Programming
|| An interpreted scripting language like
Perl and the Unix shell. Highly popular and widely used.