Nuggets of Information
From the Quagmire of My Mind...

Just somewhere to dump pearls of wisdom (and sometimes other stuff) from a old, tired nerd that's been doing DevOps and related things for FAR to long :)

Quick and Dirty -- What is my IP?

Tips 'n Tricks

 

You need your external or egress IP?

$ curl ifconfig.co

1.2.3.4

You can do a little script like this (or bash/zsh function):

#!/bin/bash

IP=$(curl ifconfig.co)

echo "My IP: ${IP}"
echo "CIDR: ${IP}/32"

That’s it - quick and dirty!