Is there a Linux command that visualizes configured network interfaces in a tree view, just like lsblk does for block devices?The output of such a program could for example look like this (bottom-up-approach):eth0   bond0  bond0.42   br42  bond0.43    br43eth1bond0  bond0.42   br42  bond0.43    br43tap100i0br42tap100i1br43tap101i0br42tap101i1br43or this (top-down-approach):br42bond0.42 bond0   eth0   eth1tap100i0tap101i0br43bond0.43 bond0   eth0   eth1tap100i1tap101i1Note: I am not looking for a tool that produces this exact output, but rather asking if anyone knows a command with a similar result.
Is there something like lsblk for network interfaces?
networking;command line
I have search for an option in existing utilities but I have not found any. Nevertheless the desired functionality is useful from my point of view. So I did a simple bash script that parses ip link show command and prints something similar to the desired output in the question:$ ./nettree.sh -ueth3    bond1       bond0eth2    bond0eth1    bond0eth0lupen3    bond1       bond0lolxcbr0virbr0veth6404e35    docker0I pushed the script to github: https://github.com/zabojcampula/show-net-devices-tree