Skip to content
Table of GNU-to-BSD command differences on macOS: find -printf becomes find -ls or -exec stat; sed -i needs an empty ''; date -d becomes date -v or -j -f; stat -c becomes stat -f; with a note that brew install coreutils provides gdate, gstat, and greadlink.

Why Your Linux Commands Fail on macOS (BSD vs GNU)

macOS’s command-line tools come from BSD, not the GNU coreutils that ship with most Linux distributions. They cover the same ground, but their flags don’t always match — so a command copied straight from a… 
Dark terminal card headed Two ways to hide a file, showing ls -lO output where flagged.txt carries hidden in the file flags column while visible.txt carries a dash, and ls -ldO on the Library folder showing it also carries the hidden flag despite having no dot in its name, with labels reading a leading dot or the hidden flag and user name redacted

How to Show Hidden Files on a Mac

There is a keyboard shortcut that shows hidden files in the Finder immediately, and for most people that is the entire answer. What trips people up comes after: some files stay out of sight even… 
Dark guide card headed Build a bootable macOS USB, showing the four steps in order: step one pick a version with softwareupdate --list-full-installers, step two verify it by listing the createinstallmedia path inside the installer, step three write the drive with createinstallmedia --volume /Volumes/MyVolume, and step four start from it using the power button on Apple silicon or Option on Intel

How to Create a Bootable macOS USB Installer

A bootable macOS USB stick lets you install or reinstall macOS on a Mac that will not start normally, set up several machines without downloading the installer each time, or do a clean install rather…