On Tue, Feb 22, 2011 at 7:41 AM, manuel "lonely wolf" wolfshant
<[email protected]> wrote:
> On 02/22/2011 02:09 PM, Florin Popovici wrote:
>> `grep eth0 /proc/interrupts|cut -d \: -f 1 | awk '{print $1}'
>
>  awk 'BEGIN { FS = ":" } ; /eth0/ {print $1}' <  /proc/interrupts
>

LC_ALL=C  sed -r '/eth0/!d;s/(.*):.*eth0/\1/' </proc/interrupts
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui