What shell command can separate the information of multiple network cards from ifconfig?

as shown in the figure, the ifconfig command can obtain the traffic information of multiple network cards, and now you need to separate the two. Excuse me, what shell command can separate the information of multiple network cards from ifconfig?

I tried awk, myself but couldn"t find the right delimiter.

clipboard.png

Mar.04,2021

ifconfig eth1 print the information of each network card separately

  

keyword? If the number of words is too small, please ignore

if I add a few unimportant words.
Menu