1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Copying File Contents To System Paste Buffer as a unix til.

This commit is contained in:
jbranchaud
2015-12-20 14:55:46 -06:00
parent f9ee5956e7
commit cd6a63d014
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Copying File Contents To System Paste Buffer
If you need to copy and paste the contents of a file, the `pbcopy` command
can be one of the best ways to accomplish this. Simply `cat` the file and
pipe that into `pbcopy` to get the contents of the file into the system
paste buffer.
```
$ cat some-file.txt | pbcopy
```