摘要: 许多windows非常熟悉ipconfig命令行工具,它被用来获取网络接口配置信息并对此进行修改。Linux系统拥有一个类似的工具,也就是ifconfig(interfaces config)。通常需要以root身份登录或使用sudo以便在Linux机器上使用ifconfig工具。依赖于ifcon... 阅读全文
posted @ 2016-05-04 16:11 毛毛虫的薄刻 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 复制代码 代码如下: if list then do something here elif list then do another thing here else do something else h... 阅读全文
posted @ 2016-05-04 11:03 毛毛虫的薄刻 阅读(384) 评论(0) 推荐(0) 编辑