mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-11 01:10:31 +00:00
10 lines
212 B
Plaintext
10 lines
212 B
Plaintext
|
# pbpaste
|
||
|
# Send the contents of the clipboard to standard output.
|
||
|
|
||
|
# Write the contents of the clipboard to a file:
|
||
|
pbpaste > file
|
||
|
|
||
|
# Use the contents of the clipboard as input to a command:
|
||
|
pbpaste | grep foo
|
||
|
|