Find the name of a network interface matching a pattern Posted by james on 23 June 2023, 8:43 am IF=$(basename $(find /sys/class/net -name 'wlp0s*'))