VectorLinux
October 22, 2014, 06:37:41 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: IP [SOLVED]  (Read 812 times)
666lawyer
Member
*
Posts: 60


« on: February 23, 2010, 04:43:20 am »

Hi,

there any linux command directly to me from the ip address of my machine?
« Last Edit: February 24, 2010, 07:51:29 am by 666lawyer » Logged
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #1 on: February 23, 2010, 04:55:51 am »

Not sure what you are looking for..
To find your local IP address, in a terminal use command "ifconfig".
To find your public address, like a DSL or cable modem, in your browser go to http://www.whatismyip.com/
Logged
bigpaws
Vectorian
****
Posts: 1856


« Reply #2 on: February 23, 2010, 10:30:49 am »

/sbin/ifconfig if you are not root.

Bigpaws
Logged
666lawyer
Member
*
Posts: 60


« Reply #3 on: February 24, 2010, 07:50:54 am »

 ifconfig |grep addr:|awk '{print substr($2,6)}'|grep -v 127
« Last Edit: February 26, 2010, 09:45:52 am by 666lawyer » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!