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.
Or read this on Hacker News