#!/usr/bin/env bash CURRENT_IP=$(curl -s ifconfig.me) echo $CURRENT_IP