How to check ip address on linux

Configure Static IP address in Linux

Topics Linux. About the author.

Linux Tutorials

Archit Modi - OpenStack enthusiast. Linux and Networking guy. Just trying to give my two cents in this billion-trillion dollar "Open Source" world. More about me. Learn how you can contribute. Recommended reading How to add a user to your Linux desktop. System76 introduces laptops with open source BIOS coreboot.

Finding the IP address of the Linux System

Hypervisor comeback, Linus says no and reads email, and more industry trends. Awk one-liners and scripts to help you sort text files. Advance your awk skills with two easy tutorials.


  • new jersey birth state records.
  • york county south carolina property records.
  • How to Find IP Address in Linux Command Line - Linux Handbook.
  • Network configuration.
  • Conclusion!
  • How To Configure Static IP Address In Linux And Unix - OSTechNix.

Getting started with awk, a powerful text-parsing tool. Tushar on 17 May Permalink.


  • How to find your IP address in Linux.
  • Related documents!
  • background information of the us constitution.

Archit Modi on 21 May Permalink. Thanks :. Victorhck on 18 May Permalink. Thanks for share! Happy hacking! That's great! Thanks for translation and sharing, appreciate it :D. Thanks for finding this out, I overlooked the minor editing errors :. Igor on 19 May Permalink. Thanks Igor, it will be changed :.

How to check ip address in linux

Archit Modi on 25 May Permalink. If you are only interested in the default IP address that connects to the internet, use a grep parameter to list that one. Alternatively, you can also use device name in particular too, but you should know the names of network devices for that. Use ip addr show command:. Typically, eth0 is for Ethernet connection, and wlp2s0 for Wireless connection. The ip utility should list several parameters of the device. For each device, two lines should summarize the link state and characteristics.

The second line should always indicate the type of link layer in use and the current hardware address MAC Address. Save my name, email, and website in this browser for the next time I comment.

how to find your internal / external i.p. address on linux

Newsletter Privacy Policy Contact us. Home Learn Linux. Learn Linux.

How to Check IP Address on Ubuntu 18.04 (Desktop)

Last Updated: March 3, Kiran Kumar Hi there! I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;.

Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!.

10 Useful "IP" Commands to Configure Network Interfaces

If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!