How to find my own IP address in CentOS

Two commands come to the rescue: ip and ifconfig. Either does the trick:

Slightly more parameters with ip, and slightly less output:

The output on the second line is the IP address (in our example

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs several YouTube channels and websites, and he's also live on Twitch sometimes. To support him on his mission to make the world a better place, you can support him on Patreon or buy him a coffee.

Add your voice!