earchibald · @lilith
52 followers · 298 posts · Server sackheads.social

macOS CLI Protip:

The 'pbcopy' command is *tremendously* useful. It sticks whatever is directed in via stdin into the Copy/Paste buffer!

`pbcopy < somescript.sh`

its twin 'pbpaste' comes in handy less often, but is good to keep around.

#mac #macos #cli #macoscli #pbcopy

Last updated 3 years ago