You are probably used to type “what is my ip” in google to know this, but how can you do that in a shell script? Here it is:
$ curl ifconfig.co
Simple!
I work as a freelancer, so if you don’t want to do that kind of things yourself or don’t have the time, just drop me a line to hire me.