Recent content by kalpesh

  1. K

    Unix Command to get IP Address ?

    $ ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2 cut: bad delimiter $ifconfig | grep "inet " | grep -v 127.0.0.1 inet 130.212.134.208 netmask 0xffffff00 broadcast 130.212.134.255 The one highlighted in blue is my IPAddress.
  2. K

    Unix Command to get IP Address ?

    HI all , I wanted to know what is the unix command to get the IPAddress of the machine on which we are working.I mean the command with which I can get to know that the IPAddress of the machine on which I am working is say "130.212.456.375". Is there any such unix command ?
Back
Top