Today I Learned

hashrocket A Hashrocket project

Standard Output to Clipboard

Adding | pbcopy to the end of any command will send the standard output to your clipboard on a Mac.

ls -al | pbcopy inside a Rails project directory allowed me to paste this:

Gemfile
Gemfile.lock
README.md
Rakefile
app
bin
config
config.ru
db
features
lib
log
public
script
spec
test
tmp
vendor
See More #command-line TILs