Use ifconfig for Linux/Unix. It usually sits in /sbin/ which usually is not in your PATH. So you may have to call it by invoking /sbin/ifconfig.