Intro to Shell Scripting (with Bash) working reference: The Advanced Bash Scripting Guide http://www.tldp.org/LDP/abs/html/ a series of commands in a file invoking a script sha-bang (#!) [man magic] conditionals (if, case) man [ (info coreutils test) redirection variables: declare/typeset quoting ("" vs. '' and $* vs $@) bracketing manipulating strings (?) loops: for i in ... for ((a=1; a <= LIMIT ; a++)) for ((a=1, b=1; a <= LIMIT ; a++, b++)) while [condition] until [condition-is-true] break continue