pbcopy
2026-08-28
Recently I was using my cursor to highlight text in the terminal and pressing cmd+c like a caveman.
Then I stumbled across pbcopy, a default MacOS command available for copying the standard input to the clipboard.
Its such a simple one purpose command but it makes a nice small change to daily work mainly for the following use cases.
kubectl get <group>/<resource> -o yaml | pbcopyecho $ENVVAR | pbcopyIt also got me thinking what other cool single purpose commands are out there that I haven't stumbled across yet and I stumbled upon this website. Will definitely be thinking about how I can automate more of my manual clicks via the CLI in the coming weeks!