{ bash } > 4 posts

Quick Tip: Copy the contents of a file to your clipboard in bash.

quick tip

Ever been in bash and thought, man, I just wish I could copy a file on the fly. Here's the command for that:

cat ~/Desktop/someFile.html | pbcopy