Read clipboard text

Device

Apps

pbpaste

  • Illustration only: no shell command is executed.
  • Begin with Select already copied to the clipboard.
  • Run pbpaste to print clipboard text.
  • The command prints Select; it does not clear the clipboard.
Speed 1.25×

Ready

Official documentation · Apple Support

Practice

Paste shell output into Terminal

About 40 seconds

Copy a short sentence in Notes, then in Terminal run `pbpaste` and confirm it prints.

Done when: Terminal shows the Notes sentence.

Why it works

Turn copied text into data.

Included in Terminal clipboard fundamentals

Sources
Open full demonstration ↗