# for i in $(cat /proc/net/dev | grep ':' | cut -d ':' -f 1); do echo "Interface : $i" " $(ethtool $i | grep Link)"; done
Interface : lo Link detected: yes
Interface : virbr0-nic Link detected: no
Interface : virbr0 Link detected: no
Interface : em1 Link detected: no
Interface : wlan0 Link detected: yes
No comments:
Post a Comment