Linux: Get all my local IP addresses (IPv4)

PHOTO EMBED

Mon Aug 29 2022 14:43:00 GMT+0000 (Coordinated Universal Time)

Saved by @marcopinero #bash

$ ifconfig -a | grep "inet\s" | awk -F'[: ]+' '{ print $4 }'

$ ip addr  | grep "inet\s" | awk -F'[: ]+' '{ print $3 }'
content_copyCOPY

Command to get all my local IPv4 addresses.