A book that's full of useful examples is _The Linux Cookbook_ by Michael Stutz, available in paperback from Linux Journal Press, and also by
apt-get install linuxcookbook Another extremely useful book for getting the whole unix thing is _Think Unix_ by Jon Lasser (QUE, 2000) -- Lance Simmons