use jq to update json file code example Example: use jq to update json file echo "$( jq '.address = "abcde"' test.json )" > test.json