ip -brief address show eth0 | perl -F'\s+|\/' -nlae 'print $F[2]'
ip -4 -brief --json address show eth0 | jq -r ".[0].addr_info[0].local"
ip -brief address show eth0 | perl -F'\s+|\/' -nlae 'print $F[2]'
ip -4 -brief --json address show eth0 | jq -r ".[0].addr_info[0].local"