How to know the network name

Colin Law clanlaw at gmail.com
Sun Oct 24 08:55:56 UTC 2021


On Sat, 23 Oct 2021 at 22:26, Jerry Geis <jerry.geis at gmail.com> wrote:
> ...
> Thanks - is there a command that spits out these names on a system ?

For eth0 you can predict the new name using
sudo udevadm test /sys/class/net/eth0 2>/dev/null |grep ID_NET_NAME_

Colin




More information about the ubuntu-users mailing list