====== jq ====== Filtering an array of objects where the ''user_id'' is ''2199'' and outputting just the ''username'' key: cat profiles.json | jq -c -r '.[] | select(.user_id | contains(2199)) | .username'