macOS / binaries /

pbpaste

/usr/bin/pbpaste
Provide copying and pasting to the pasteboard (the clipboard) from command line

pbpaste removes the data from the pasteboard and writes it to the standard output. It normally looks first for plain text data in the pasteboard and writes that to the standard output. If no plain text data is in the pasteboard it looks for Encapsulated PostScript. If no EPS is present it looks for Rich Text.

source: man