Alias to get IP

ipaddr

Use ip command to list active network interface addresses.

ip -br a

See more shell aliases and functions at my dedicated listing or my posts that use the "cli" tag.