Skip to content

Part I – Bash Fundamentals

In this first section, you'll build a strong foundation in Bash scripting specifically tailored for macOS users, administrators, and security engineers.

What you'll learn:

  • Chapter 1: Why Bash remains essential on macOS, Terminal basics, and writing your first script on macOS
  • Chapter 2: Core Bash syntax, quoting, variables, command structures, and understanding how Bash parses and executes commands
  • Chapter 3: Navigating the file system, listing, creating, moving, and deleting files; understanding file permissions and ownership on macOS
  • Chapter 4: Text processing and data manipulation with cat, grep, awk, sed, and cut; redirects, pipes, and JSON/plist manipulation on macOS
  • Chapter 5: Managing processes with ps, top, and kill; using disk and memory utilities; logging and monitoring from the Terminal

By the end of this part, you'll have the skills to write clear, reliable Bash scripts that align with macOS's unique environment and security requirements.