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

If you have trouble remembering jq syntax (or any other weird CLIs) I'd reccomend increasing the number of lines of history stored in your shell and finding a way (I use FZF) to search through that history.

I do a quick ctrl+r, type jq, and I can find all of my JQ snippets I've used in the past couple of years. If I then type "select" I can find all of the times I've used that function, etc.

I also use it to find while loops, kubectl snippets, environment variables I exported to run a script, etc.



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

Search: