For a long time I've used
ipconfig in Windows, and
ifconfig in Unix to find out my local IPv4, for different purposes.
There are times when your screen is small, or you have an extensive amount of network adapters connected to your computer, making this list really extensive. I know you can pipe it into
less, in order to avoid scrolling, and filter with
grep, but that's rather cumbersome.
I was wondering if there was an easier way to find the basic information your DHCP provides you (gateway, IPv4, and subnet mask), without having to squint your eyes in order to find the numbers you are looking for, and without having to look up a command in your notes or Google.