Facebook Twitter Instagram
    WiredRevolution.com
    • Home
    • About
    • Contact Us
    • Essential Linux Commands
    • Sitemap
    Facebook Twitter Instagram
    WiredRevolution.com
    system administration

    Find your IP address with ifconfig

    RyanBy RyanOctober 30, 2008Updated:December 7, 20081 Min Read
    Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Email

    You can find the IP address of your system at the command line by using the ifconfig command. The ifconfig command will show you information on all your network interfaces. If no arguments are given ifconfig displays the status of the currently active interfaces.

    You have to run this command as root or use sudo.

    # ifconfig
    
    wlan0     Link encap:Ethernet  HWaddr a1:b2:c3:d4:e5:f6  
              inet addr:192.168.2.11  Bcast:192.168.2.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
              RX packets:4007 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4246 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:3292271 (3.1 MiB)  TX bytes:994922 (971.6 KiB)
    

    Your IP address is displayed in the inet addr field.

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Email
    Previous ArticleRun a command at boot with Gentoo
    Next Article Find your MAC address with ifconfig

    Related Posts

    Clone a VirtualBox Guest VM

    Setup SSH access between VirtualBox Host and Guest VMs

    Install Linux development man pages in Ubuntu

    Most Commented
    March 12, 2009

    Fix blue tinted video in Ubuntu

    September 10, 2010

    Setup SSH access between VirtualBox Host and Guest VMs

    March 8, 2011

    Install GNOME Shell in Ubuntu 10.10 Maverick

    April 4, 2009

    Setup the PS3 Bluetooth Controller on Ubuntu

    October 22, 2008

    How to correctly use LD_LIBRARY_PATH

    Recent Comments
    • Execute command on linux virtual machine (or server) from windows commandline on Setup SSH access between VirtualBox Host and Guest VMs
    • Solved: How to SSH to a VirtualBox guest externally through a host? - Daily Developer Blog on Setup SSH access between VirtualBox Host and Guest VMs
    • How to SSH to a VirtualBox guest externally through a host? [closed] – Code D3 on Setup SSH access between VirtualBox Host and Guest VMs
    • How to copy and paste from VirtualBox? [duplicate] on Setup SSH access between VirtualBox Host and Guest VMs
    • Jackie Laguna on Fix OpenGL: ChoosePixelFormat SketchUp error in WINE
    © 2025 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.