I have the following bash script, I would like to print now
inside the echo, I receive an error and not able to make it. Could you please point me out in the right direction?
$now = date -u +"%Y-%m-%dT%H:%M:%SZ"
echo '
{
"a": {
"timestamp": $now,
},
}
'