LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-11-2008, 05:59 PM   #1
dellthinker
Member
 
Registered: Jan 2007
Distribution: Debian etch 4.0/Debian lenny 5.0
Posts: 210

Rep: Reputation: 30
Getting IP full information


Hi all. Im looking for a command similar to Windows ipconfig /all command. Where i can get the info on the DHCP etc etc. using ifconfig doesnt show me the DNS server etc, any suggestions? Thanx in advance!
 
Old 06-11-2008, 06:01 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
There is no standard command to do that; since Linux uses multiple layers of daemons and tools to configure networking, the information is spread around a bit.

To get all of the TCP/IP information, you can just use ifconfig. If you want to see the DNS servers, run the command:

Code:
cat /etc/resolv.conf
To see the primary router (or gateway), use the command:

Code:
route
 
  


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
Information emilien Red Hat 4 10-04-2007 05:19 PM
Need information cj_cheema Red Hat 1 07-10-2007 05:06 AM
Hiding machine information and root information geletine Linux - Security 6 07-14-2006 08:57 AM
Which distributions do not support --full-time for ls (ls --full-time)? GCS Linux - Distributions 0 07-28-2004 02:25 AM
More Information gutter007 Linux - General 2 01-31-2001 08:25 PM


All times are GMT -5. The time now is 12:51 AM.

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