Easy way to get the own IP address via command line under Linux

Easy way to get the own IP address (and just the IP address) via command line under Linux

dig +short txt ch whoami.cloudflare @1.0.0.1 | sed 's/^"\(.*\)"$/\1/'