how to determine network device names

Little Girl littlergirl at gmail.com
Mon Nov 8 11:43:06 UTC 2021


Hey there,

Ralf Mardorf via ubuntu-users wrote:

>Little Girl's second option fixed to work for me:
>
>$ ip route | grep default | awk '{printf $5 "\n"}'
>enp3s0

This one works for me, too, and is shorter than mine, so I'm adding
it to the collection. Thanks.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list