Arguments Shell parameters.Variables Local and Environment variables.List of Environment variables.List of Special bash shell variables.Array Variables Define a Function Macro.Functions Use shell functions to group commands.Redirection Redirect output from one command as input for another.
if then else Conditionally perform a command.for Expand words, and execute commands.while Execute commands.
Arithmetic expressions.Using brackets to Group and expand expressions.Logical, arithmetical and comparison operators.Conditional execution command-A AND/OR command-B.Comparison Operators exists, greater than, equal to.Wildcard Pattern matching.
Run a script at startup/login.macOS startup files .zprofile and .bash_profilestrftime Date and time string formats.
Key Bindings - Change the action of keys.Defaults - A list of macOS preferences.macOS Root user - How to Enable/Disable.
See also: Websites, Books, Apps & Utilities for macOS.