jq select value from array March 27, 2023 by Tarik Found the answer: cat <file>.json | jq -r '.files[] | select(.fileName=="FOO") | .md5'