ifconfig

ifconfig is a utility for displaying, creating, and deleting network interfaces.

显示或配置一个网络接口。

ifconfig eth0
ifconfig up eth0