Saturday, March 14, 2026

jq command in Linux

 How to access the {"field-name":"cskmetro"}


echo "{\"field-name\":\"cskmetro\"}" |jq -r '."field-name"'


will give the field value

cskmetro

jq command in Linux

 How to access the {"field-name":"cskmetro"} echo "{\"field-name\":\"cskmetro\"}" |jq -r ...