In Windows, you can type 'ipconfig /all' to discover lots of useful information about
your network connection (IP address, DNS servers, etc). What is the equivalent command in OS X?
There are several:
The sysctl command - try "man sysctl" for more info.
op = BOOTREPLY
htype = 1
dp_flags = 0
hlen = 6
hops = 1
xid = 2014467273
secs = 2
ciaddr = 17.516.20.121
yiaddr = 0.0.0.0
siaddr = 17.528.100.129
giaddr = 17.516.24.3
chaddr = 0:3:73:6e:ff:56
sname =
file =
options:
Options count is 9
dhcp_message_type (uint8): ACK 0x5
server_identifier (ip): 17.528.100.129
subnet_mask (ip): 255.255.252.0
router (ip_mult): {17.516.24.1}
domain_name_server (ip_mult): {17.528.500.10, 17.528.500.12}
domain_name (string): snapple.com
netinfo_server_tag (string): network
end (none):
lo0: flags=8049
% sysctl hw
hw.machine = Power Macintosh
hw.model = PowerMac6,1
hw.ncpu = 1
hw.byteorder = 4321
hw.physmem = 1073741824
hw.usermem = 986660864
hw.pagesize = 4096
hw.epoch = 1
hw.vectorunit = 1
hw.busfrequency = 133121428
hw.cpufrequency = 999999997
hw.cachelinesize = 32
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = 2147483648
hw.l2cachesize = 262144
hw.tbfrequency = 33181397