Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-11-2008, 04:59 PM   #1
Registered: Jan 2007
Distribution: Debian
Posts: 214

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, 05:01 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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:

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



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

All times are GMT -5. The time now is 10:14 AM.

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