The equivalent ipconfig command for macOS.


If you are a Windows user, you probably used a terminal command called ipconfig. However in macOS, while the ipconfig command is recognised. It does not produce a report to make it easy to see your computers network settings. Instead if you want to quickly see your network settings, you should use the ifconfig command, which is what we will be demonstrating in the video.

Note: As macOS and Linux are distant cousins, the ifconfig command will work in the same way on both operating systems.

  • Form your macOS desktop, select Spotlight Search.
  • Within Spotlight Search type Terminal and press Enter on your Keyboard.
  • Now at the command prompt type.
ifconfig en0 [or en1]
  • When you press enter on your keyboard, you will be pesented with the network details of your computer.

Note: The En0 or En1 part of the command, will determine which network adaptor you are selecting. So as a general rule if you have a computer with both a network port and a wifi adapter. The network port will be En0 and the wifi adapter will be En1. However if your computer has just a WiFi adapter, then the WiFi adapter will be En0.

  • To gracefully close your current Terminal session type:
exit
  • When you press Enter on your keyboard the Terminal session will end and you can close the Terminal application.

Add comment

Your email address will not be published. Required fields are marked *

Our site members

Support This Site

If you enjoy our content but don't want to be a site member. Please consider supporting us on Ko-fi to keep us ads free. Thanks for all your support