Skip to content

Instantly share code, notes, and snippets.

@kentarosasaki
Created June 11, 2018 00:40
Show Gist options
  • Save kentarosasaki/ac379f07c487e20f0dcf78869ce4a5fc to your computer and use it in GitHub Desktop.
Save kentarosasaki/ac379f07c487e20f0dcf78869ce4a5fc to your computer and use it in GitHub Desktop.
(macOS限定) CLIの出力結果をクリップボードにコピーする ref: https://qiita.com/kentarosasaki/items/22ecf583774561ac239d
$ echo "aaa"
aaa
$ echo "aaa" | pbcopy
$
$ echo "bbb" | pbcopy
$ pbpaste
bbb
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment