/proc/net/dev
file has details on all interfaces. e.g.
$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 3562 60 0 0 0 0 0 0 3562 60 0 0 0 0 0 0
wlan0: 2491781197 2034240 0 0 0 0 0 0 261797069 1502752 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
As you can see, many columns and details are not very easy to read when you cat
the file so I would suggest to use ifconfig
command which reads that file and formats output nicely.
To list all interfaces use
/sbin/ifconfig -a
that will show you the unconfigured/down network interfaces as well as configured and active ones, as read from /proc/net/dev