[mdlug-discuss] Ubuntu 17.04

Drew drew4096 at gmail.com
Thu Apr 27 23:30:25 EDT 2017


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?


More information about the mdlug-discuss mailing list