Goglides Dev 🌱

Balkrishna Pandey for goglides

Posted on • Updated on

List all network devices using ethtool

To list all network devices using ethtool, you can use the following command:

for i in `ls /sys/class/net/`; 
do 
echo $i;
sudo ethtool -i $i; 
echo "------";
done
Enter fullscreen mode Exit fullscreen mode

This will display information about each network device installed on your system, including driver information, firmware version, and bus information. Note that you will need to run this command with root privileges using the sudo command.

Top comments (0)