1. 首页
  2. 操作系统
  3. Linux
  4. linux net detect

linux net detect

上传者: 2019-07-17 01:45:18上传 TXT文件 1.67KB 热度 20次
使用ifconfig命令,如果含有“RUNNING”,说明网线接入,否则就没有。例:ifconfigifconfigeth0ifconfigeth0|grep"RUNNING"也可以C编程查看网线插拔状态
下载地址
用户评论