9951 explained code solutions for 126 technologies


jqGet first item property in some command's json output


somecommand | jq '.[0]'ctrl + c
somecommand

any command that has to output json, echo '["foo", "bar"]' for example

'.[0-∞]'

address/point of item in array of items (0 -> first, 1 -> second, etc.)