mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 19:56:55 +00:00
Update cheatsheets
This commit is contained in:
18
osx/pbpaste
Normal file
18
osx/pbpaste
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pbpaste
|
||||
|
||||
> Send the contents of the clipboard to `stdout`.
|
||||
> Comparable to pressing Cmd + V on the keyboard.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/pbpaste.1.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`
|
||||
Reference in New Issue
Block a user