LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2004, 08:43 AM   #1
Skills
LQ Newbie
 
Registered: Mar 2004
Posts: 14

Rep: Reputation: 0
Own IP address


Whats the command for finding my own ip address?

Thx!
 
Old 09-29-2004, 08:46 AM   #2
mouse46
Member
 
Registered: Mar 2004
Location: London
Distribution: Kubuntu, Debian
Posts: 87

Rep: Reputation: 15
dont know about command line

but...what is my ip?
 
Old 09-29-2004, 09:02 AM   #3
mirradric
Member
 
Registered: May 2004
Location: Singapore
Distribution: Debian woody and debian sarge
Posts: 188

Rep: Reputation: 31
ifconfig should give you the ip addresses of your interfaces.
If you are a non-root user, /sbin is probably not in your path.

Code:
bash$ifconfig
should show you all interfaces that are up.

Code:
bash$ ifconfig -a
should show you all configured interfaces

finally,

Code:
bash$ man ifconfig
will show you how to use ifconfig

Last edited by mirradric; 09-29-2004 at 09:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 10:33 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 11:33 AM
problem to print source address and destination address jooboo Programming 2 11-26-2003 04:24 PM
Should i use the eth0 ip address of my internet ip address when applying iptables ForumKid Linux - Security 2 01-03-2002 09:54 AM


All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration