17 Dec 2009

osx terminal ifconfig command

osx 143 Comments

type ifconfig from the osx Terminal to see information about your network adapters

This is useful for getting your Mac network card’s MAC Address

Type ifconfig | grep inet to return just the ip address of your network apapters

You can disable and enable network adapters by typing

ifconfig en0 down
ifconfig en0 up

Comments are closed.