Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

`pbcopy | jq | pbpaste` is a very frequent command that I run to quickly format json in the clipboard.

I use pbcopy and pbpaste probably all day long and always miss it in Linux environments.



Also `alias pbsort='pbpaste | sort | pbcopy'`


You should Alias xsel if you’re in an x environment


Slick! I need to figure out how to get something like this for SQL




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: