#!/bin/bash #set -x mkdir -p temp ./getNewAccessToken.sh tempFile=temp/accountNumbers.tmp.$$.json curl -s -X GET "https://api.schwabapi.com/trader/v1/accounts/accountNumbers" -H "Authorization: Bearer $( ${tempFile} jq '.' < ${tempFile}