Could you help me writing a script showing which network connections are currently active?

Could you help me writing a script showing which network connections are currently active?
Means output should be something like:
"eth0, wlan1, wlan3"

Problem:
The output is supposed to happen on a 16x2 LCD Display.
Currently I am doing a "Ifconfig" as output, but its too fast for the display.

Use the below command instead of using only ifconfig, ifconfig output will be greped and filters the inet line to get only the IP address.

ifconfig | grep inet

Sample output is here.

quick and dirty, no error checking etc, some polishing needed:

ifconfig | awk '$1 {print $1}' FS="  " ORS=,
eth0,lo,