1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 12:42:07 +02:00
tldr/pages/osx/pbpaste.md
2023-02-03 10:08:01 +05:30

337 B

pbpaste

Send the contents of the clipboard to standard output. Comparable to pressing Cmd + V on the keyboard. More information: https://ss64.com/osx/pbpaste.html.

  • Write the contents of the clipboard to a file:

pbpaste > {{path/to/file}}

  • Use the contents of the clipboard as input to a command:

pbpaste | grep foo