Apple macOS How-to guides and examples

Arguments Shell parameters
Variables Local and Environment variables
  List of Environment variables
  List of Special bash shell variables
Array Variables  Define Function Macros
functions  
Redirection Redirect output from one command as input for another.

Looping constructs:

if 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
Shell expansion
Escape Characters, delimiters and Quotes
File operators -f
Command Substitution
Wildcard Pattern matching

Working with the Shell:

Run a macOS shell script
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
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-2024 SS64.com
Some rights reserved