What I want to do is in order not to hardcode a variable as a string I want to make it a little bit more dynamic.
I want to do something like this:
export SERVER_IP=45.100.1.100 #this works but it is hardcoding
IP = short myip.opendns.com @resolver1.opendns.com #grabs IP and should save it into a variable
export SERVER_IP = IP #exports IP to an environmental variable
How to make this actually work? Thanks.