Re: Comparison with "ipconfig /all"
Richard Ford <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.beijing.tech |
|---|---|
| Organization | Creditude |
| Message-ID | <1078111284.3759.27.camel@peachlappy> |
Yup... Write it all into a nice, formatted shell script! ;-) Then call the executable anything you want. Like, iamlazygetallnetinfo.sh ;-) RF. On Sun, 2004-02-29 at 11:27, Glyn Truscott wrote: > 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