Terminal Command To Show IP Address in Ubuntu Linux


If you are familiar with ipconfig in Windows. Linux Ubuntu has this utility but the terminal command is different, here are some ways you can display and get the Ip Address for your machine.

  1. ifconfig
  2. ip addr show
  3. ip addr show dev eth