Arguments Shell parameters Variables Variable Substitution List of Environment variables List of Special bash shell variables Array Variables functions Define Function Macros Redirection Redirect output from one command as input for another
if Conditionally perform a command for Expand words, and execute commands while Execute commands The break and continue builtins may be used to control loop execution.
Logical, arithmetical and comparison operators Conditional Expressions Conditional execution Escape Characters, delimiters and Quotes
Working with the bash Shell:
Run a bash shell script Prompt Statement variables Bash startup files bashrc Here documents and Here Strings strftime Date and time string formats
General OS X
bash Terminal Keyboard Shortcuts OSX Keyboard Shortcuts Save an OS X installer to a bootable USB drive Defaults - setting system preferences OS X Root user - How to Enable/Disable OS X Filesystem hierarchy Background Processes (Westwind) Valid Filenames in OS X
For examples of all the above see OS X books