Get the latest tech news

Useful built-in macOS command-line utilities


macOS comes with a lot of built-in utilities. Here's a list of some that I find interesting.

pbcopy and pbpaste are command-line utilities that allow you to copy and paste text to the pasteboard (what other operating systems might call the "clipboard"). Link screencapture: This command allows you to take screenshots and save them to a file. Link networksetup: This command allows you to configure your network settings programmatically.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of macOS

macOS

Photo of line utilities

line utilities

Related news:

News photo

Show HN: I launched a super cheap and simple to use OCR tool for macOS

News photo

Show HN: Replacicon – Create and customize app icons on macOS

News photo

Cyberpunk 2077 coming to Mac 'early next year' / Assassin’s Creed Mirage, Resident Evil 4, and more coming to macOS in 2024, Apple reveals