On Tue, 15 Aug 2017, Greg Wooledge wrote:
ip -o link | awk -F": " '{print $2}'
and even shorter: ip -o link | cut -d : -f 2 BTW, I suggest to abandon, in the subject, the reference to the OP's subject ("was ..."), as this thread has really nothing to do with inittab stuff