if you can cat save the file then you can use sed . there is no harm in trying before asking a question.
if the check-free-ip.to.rdpzhitong.rdp file has any text, you can do this:
address=$(sed 1q check-free-ip.to.rdpzhitong.rdp) sed -i "s/address:s:.*/address:s:$address/" rdpzhitong.rdp
also, a little advice. try without the -i switch until you find out that it works.
source share