Re: computer-friendly way of accessing ifconfig

2016-05-24 Thread Roy Marples
On 22/05/2016 15:22, co...@sdf.org wrote: > hi, > > I'd like to write code that works with the input or output typically > done with ifconfig. > as an example, I would like to know, say, which interfaces are wireless > and which are wired, as they tend to be controlled differently, and > whether t

computer-friendly way of accessing ifconfig

2016-05-22 Thread coypu
hi, I'd like to write code that works with the input or output typically done with ifconfig. as an example, I would like to know, say, which interfaces are wireless and which are wired, as they tend to be controlled differently, and whether they are up. my options currently seem to be: 1. parse t