How to get your local IP address with Ipconfig equivalent for Mac OS X
Ipconfig Mac – Just like you you can open command prompt in Windows and hit “ipconfig” to get your local LAN/WLAN IP address, you have the same option on a Mac in OS X with the command “ifconfig”.
Simply open up the terminal, eg. by pressing cmd+space and typing “terminal”.
Then type “ifconfig” and hit enter.
How to get your local IP address from System Preferences
Another option to get your local IP address on a Mac is to click the Apple logo in the taskbar, then click “System Preferences”, type “Network” and hit enter. This will open up a graphical view, which shows you your local IP address as illustrated: