Script to List All IP Addresses

Script to list all IP addresses
This article will help you to list all IP addresses in your system using the script.

You can run the below bash script to list all IP Addresses in your Linux System

hostname ;ifconfig| grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' | grep -v ^127

 

Feel free to modify.

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

Linux Management Services

Focus on your business, and let us take care of your Linux Servers!
From what you are reading, it seems you are interested in Linux and related technologies. If you have a moment to spare, please take a look at our Linux Management Services plan, which might interest you even more!
Linux Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.