Lurker News

Comments (217) 34 threads

Show all comments

Showing thread 21 of 34

nailer#
> This is achieved by boosting any typical Linux text-processing utils such as grep, sort, cut, paste, awk, wc, perl, etc., etc., by providing a quick, interactive, scrollable preview of their results.

    lshw | grep network -A2 | grep : | cut -d: -f2-
A better idea would be to work on tools that have structured output, so people can select the keys they want and don't have to scrape.

    $ Get-NetAdapter | where status -eq 'up' | select InterfaceDescription

    InterfaceDescription
    --------------------
    Qualcomm Atheros QCA61x4A Wireless Network Adapter