AirDrop fails in a way that gives you nothing to work with: the other device simply is not there. No error, no explanation, just an empty sharing sheet. The reason it is so opaque is…
When you download an app outside the App Store, codesign is the built-in way to check who actually signed it and whether the copy on disk has been tampered with. It reads the signature that…
The osascript command runs AppleScript — and JavaScript — straight from the Terminal, which makes it the bridge between a shell script and the Mac’s GUI layer. It is how a shell script pops a…
There are two easy ways to make a zip on a Mac: right-click a folder in the Finder and choose Compress, or run zip in the Terminal. Both work. The problem shows up on the…
macOS has a built-in command for keeping your Mac awake — caffeinate — so there’s no app to install. Its most useful trick is wrapping a command so the Mac stays up for exactly as…
Most command-line development on a Mac needs only the Xcode Command Line Tools — the compilers, git, and make, a few hundred megabytes — not the full multi-gigabyte Xcode IDE. Here’s how to install just…
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…
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…
Most people reach for speedtest.net or install the Ookla app to check their connection on a Mac. You don’t need either. Since macOS Monterey (macOS 12), every Mac has shipped with networkQuality, a command-line tool…
I ran into the "display set to Never but the Mac locks anyway" problem myself on a MacBook Pro (M3 Max) right after updating to macOS 26.5.2. After testing this across several of my own…