How can I list only interface name and assigned IP with ifconfig in terminal Is there a way using only ifconfig to list only network interface names and their assigned IPs?

I am aware that I can do ifconfig | grep inet but this does not include the interface name (en0, en1 etc)
You could run ifconfig -l to get a list of interfaces, then iterate through them.

(bash)

for i in `ifconfig -l `; do echo $i; ifconfig $i | grep "inet " ; done


This will print the interface on one line, and the "inet " info on the next line.  Note that if you only search for "inet", the "inet6" line will also show up.