shell command ifconfig, although there are other ways to get the information too.