标签:blog sp strong div on log bs linux as
1. 列出启用网络设备的所有信息:
ifconfig
2. 将网络设备设置为启用或者不启用
不启用设备eth0
ifconfig eth0 down
启用设备eth0: Will bring eth0 up if it is currently down.
ifup eth0
停止设备eth0:Will bring eth0 down if it is currently up.
ifdown eth0
标签:blog sp strong div on log bs linux as
原文地址:http://www.cnblogs.com/wiessharling/p/4101733.html