System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

pbcopy

Copy data from stdin to the clipboard. Comparable to pressing Cmd + C on the keyboard. More information: https://ss64.com/osx/pbcopy.html.
  • Place the contents of a specific file in the clipboard:
    pbcopy < {{path/to/file}}
  • Place the results of a specific command in the clipboard:
    find . -type t -name "*.png" | pbcopy

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.