Is there a way to test if the eth0 connection is active? I would like to use this in a script.
I know it's possible to do with
But I don't like this command because it has to be executed as super user. And I want my script to be executed as a normal user.Code:$ ethtool eth0 | grep Link
Bookmarks