jq filter array
$ json='[{"genre":"deep house"}, {"genre": "progressive house"}, {"genre": "dubstep"}]'
$ echo "$json" | jq -c '.[] | select(.genre | contains("house"))'
{"genre":"deep house"}
{"genre":"progressive house"}
Also in Shell:
- how to create a branch in git
- join linux to ad domain
- shell Edited By King Deface
- kali linux command download
- ubuntu create a ssh key
- gitlab download
- rails rollback multiple migrations
- check if kubernetes is running
- unzip gz file linux
- a2ensite example.
- git add
- how to set date in linux
- how to upload existing project to github
- ubuntu logout
- powershell active directory script examples
- create a docker file
- how to count digits and sum of digits in C
- linux install pip
- pycharm duplicate line
- git go to previous branch
- disable ssh login for user
- deny directory listing htaccess
- how to Install nodejs on a chromebook
- how to add image in github readme