Okay I got ip and grep and cut to give me the names. But now I'm
having another problem. When I give the command
for I in `sudo ip address show | grep '^[0-9]' | cut -d ':' | cut -c 2
| tail -2`
do
echo $I
sudo ifquery $I
done
I get
enp9s0
Unknown interface enp9s0
wlp12s0b1
Unknown interface wlp12s0b1
ip is finding them. But ifup\ifdown\ifquery isn't.
Why?