Comparison with "ipconfig /all"

"Glyn Truscott" <glyn-CRHVqhVihxDGjR/[email protected]>
Newsgroups gmane.org.user-groups.linux.beijing.tech
Message-ID <6E1DB6A06B7FD74E964D796F7E66F5E3015C4C__24761.6285844289$1078025380@bdabjem01.bdachina.com>
Hi,
Coming from a Windows admin background, I have grown very attached to the
"ipconfig /all". With one signal command, I have access to most of the
networking-related information I need including:
1 Connection-specific DNS Suffix  . : 
2 Description . . . . . . . . . . . : Realtek RTL8139 Famil
3 Physical Address. . . . . . . . . : 01-07-91-E2-44-19
4 Dhcp Enabled. . . . . . . . . . . : Yes
5 Autoconfiguration Enabled . . . . : Yes
6 IP Address. . . . . . . . . . . . : 192.168.98.162
7 Subnet Mask . . . . . . . . . . . : 255.255.255.0
8 Default Gateway . . . . . . . . . : 192.168.98.11
9 DHCP Server . . . . . . . . . . . : 192.168.98.1
10 DNS Servers . . . . . . . . . . . : 192.168.98.1
11 Lease Obtained. . . . . . . . . . : 2004 02 29 11:05:20
12 Lease Expires . . . . . . . . . . : 2004 03 08 11:05:20

I was wondering what the Linux equivalent would be to find each of these
pieces of information. Note: I am looking for commands that tell me the
actual values, rather than looking at the configuration files. So far, I use
a number of commands: 
ifconfig 2/3/6/7
Dig 10
Route 8
Any ideas how to get 9/11/12? Are there any more efficient/better ways to
get the information?
Regards,
Glyn

_______________________________________________
blug-tech mailing list
[email protected]
http://list.beijinglug.org/cgi-bin/mailman/listinfo/blug-tech
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.