Apple macOS How-to guides and examples

Arguments Shell parameters.
Variables Local bash shell and Environment variables.
Array Variables  Define a Function Macro.
Functions Use shell functions to group commands.
Redirection Redirect output from one command as input for another.

Looping constructs:

if then else Conditionally perform a command.
for Expand words, and execute commands.
while  Execute commands.
break and continue Control loop execution.

Evaluating expressions:

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.
Escape Characters, delimiters and Quotes.
File operators -f
Command Substitution $(command)
Shell expansion ${parameter:-word}
{ } $ ~ &{} $()
Wildcard Pattern matching.

Working with the Shell:

Run a macOS shell script.
Run a script at startup/login.
bash Prompt Statement variables.
macOS startup files .zprofile and .bash_profile
Here documents and Here Strings.
strftime Date and time string formats.

General macOS

Keyboard Shortcuts - bash Terminal.
Keyboard Shortcuts - macOS.
Key Bindings - Change the action of keys.
Create a bootable MacOS drive.
Defaults - A list of macOS preferences.
macOS Root user - How to Enable/Disable.
macOS Filesystem hierarchy.
Valid Filenames in macOS.
macOS versions.

Related:

See also: Websites, Books, Apps & Utilities for macOS.


 
Copyright © 1999-2026 SS64.com
Some rights reserved