To only get the Link status you can use grep: $ sudo ethtool eth0 | grep Link Link detected: yes share | ...
stackoverflow.com