How can I list only interface name and assigned IP with ifconfig in terminal
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.