How to check ip address in linux

Just issue following command to check your ip address in linux

/sbin/ifconfig

ifconfig

ya, my ip address now is 10.0.0.6

Tags :

About the Author

mkyong
Founder of Mkyong.com and HostingCompass.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

  • http://www.scriptvenue.com Arvind

    Nice Article

    Keep writing

    Thank you !!!

  • http://%URL% voyance

    Greetings! Very useful advice in this particular
    article! It is the little changes that will make the biggest changes.
    Many thanks for sharing!

  • http://weblaptrinh.vn hftv699

    Nice

  • http://www.ip-details.com/ yui

    I used to check my network IP address using the site Ip-Details.com .

  • yui

    Nice

  • prakash

    Thank you

  • http://trackip.sourceforge.net David

    There’s also a neat little utility that allows tracking the IP addresses of the machine it’s installed on. You can get the IP addresses via Email or have them written to a MySQL database. Here’s the link

  • http://everton.web.id/ Array St

    Oke, thankss, this is enogh to help me..

  • Chris

    Thanks you site is really helpful, I am just starting with linux and it gives simple answers to many of my questions

  • laura dogillo

    your website is very helpful for my study in Linux. Thank you very much.

    • mkyong

      welcome…good to know it drive benefit to you

      • Kuldeep Arya

        why don’t you go for –
        hostname –ip