![]() I have heard ipconfig is not supported in all versions of Mac OS X so I did not recommend this as the first choice. You can change this to en0 for wired/ethernet too. The other command line option is to use: ipconfig getifaddr en1 which reports back only your en1 (usually wireless) IP address. Because you can always ignore 127.0.0.1, this guarantees that your IP address will be the other IP between ‘inet’ and ‘netmask’ Your IP address is usually next to the last entry of ‘inet’ and in this case is 192.168.0.100, an IP address is always in the format of x.x.x.x but it will never be 127.0.0.1 because that is your machines loopback address. ![]() Inet6 fe80::fa1e:dfff:feea:d544%en1 prefixlen 64 scopeid 0x5 Inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
0 Comments
Leave a Reply. |