jq Basic actions Get all keys of a json doc: cat $PATH_TO_THE_JSON_FILE | jq -r '[paths|map(.|tostring)|join(".")]'