Hands-on task
This task is step 17 of the course “JSON, YAML and XML in the terminal”
yq: read a value from YAML
In /root/config.yaml, extract the value of service.port and write it to /root/port.txt.
Reference:yq
What you'll practise:
- yq
- yaml
- dot notation
- reading configs