[PLUG] "brief" ifconfig?

Keith Lofstrom keithl at kl-ic.com
Sun Dec 7 18:18:54 UTC 2008


On Sun, Dec 07, 2008 at 08:46:07AM -0800, Paul Heinlein wrote:

> The closest solution of which I'm aware uses /sbin/ip:
> 
>   ip -s link
> 
> but it still reports six lines per interface, not just one.

While that is not the output I want, it looks easier to parse
into a summary.  If 'ip' is on most systems, I will use it as a
starting point rather than ifconfig.  Thanks for the suggestion!

Keith

-- 
Keith Lofstrom          keithl at keithl.com         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs



More information about the PLUG mailing list