Goglides Dev 🌱

Goglides Dev 🌱 is a community of amazing users

Shaping the future of IT, one connection at a time.

Create account Log in
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.

Discussion (0)