I have some lines like [ 17.440000] eth0: XYZCOMPANY ABC4353 802.11 Wireless Controller
[ 17.540000] eth1: XYZCOMPANY ABC4353 802.11 Wireless Controller
[ 17.640000] eth2: XYZCOMPANY ABC4353 802.11 Wireless Controller
I need to get eth0, eth1, eth2 into a variable in shell script. As you can notice all the other lines like XYZCOMPANY ABC4353 remains constant.but interface name is keep changing. I need to get those interface names into a variable.
Thanks!