macOS Overview
macOS on Apple Silicon is a common operator workstation next to Linux in the cloud. This section covers tasks that do not fit the server-focused Linux library: external volumes under /Volumes, Time Machine teardown on externals, dua and eza for disk usage and listings in Terminal, OpenSSH client keys for Git over SSH (GitHub and GitLab), passwordless SSH into Ubuntu plus sudo, Transparency, Consent, and Control (TCC) / Full Disk Access, diskutil volume ownership, and related Homebrew CLIs.
Topics in This Section
Section titled “Topics in This Section”- External Disk Permissions and Disk Usage — Diagnose orphaned UIDs, fix access (TCC, ownership), and use
dua,eza, andncduon external drives. - Time Machine Backup Cleanup on External Drives — Remove TM destinations, delete
Backups.backupdbwithtmutil, monitor space withduf/watch, and verify cleanup. - dua Setup: Interactive Disk Usage in the Terminal — Install
dua-cli, interactivedua i, aggregate mode,--ignore-dirs, and comparison withdu/ncdu. - eza Setup: Icons and Colors for Terminal Listings — Homebrew install,
~/.zshrcaliases, flags, and why eza replacescolorlson Apple Silicon macOS. - OpenSSH Client Keys — Create, register, inspect, and compare SSH keys for GitHub and GitLab; multi-account
~/.ssh/config; HTTPS to SSH; troubleshooting. - SSH to Ubuntu (Passwordless + sudo) — Install your public key on a remote Ubuntu or Debian host, fix
authorized_keyspermissions, and grant interactive or NOPASSWD sudo.