arrow_back Back to Notebook
linux
linux
April 5, 2019

Get IP Address in Linux

To get the IP Address in linux you can use ifconfig or hostname -I

For Example

hostname -I

192.168.0.5

ifconfig -a | grep inet

inet 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch