me hammer ip -o grep inet lo inet 127 scope host lo onboard inet 10 23

1
2
3
4
me@hammer ~ $ ip -o a |grep inet
1: lo inet 127.0.0.1/8 scope host lo
2: onboard inet 10.2.1.2/23 brd 10.2.1.255 scope global onboard
3: wireless inet 10.2.1.2/23 brd 10.2.1.255 scope global wireless