>_ IzzyLab

Topic breakdown

jq is a query language for JSON: the simplest filter is a path of keys separated by dots, where each successive nested field is appended with a dot, descending one level deeper. By default jq prints strings in quotes as valid JSON, while the -r (raw) flag outputs the "raw" value without quotes — which is what you need for writing into a text file.

What's checked

  1. the value of user.name without quotes in /root/name.txt

What it looks like