Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
this producescat /proc/net/dev|grep eth0|awk '{print $2}'|sed 's/eth0://g'
I get:system ("`cat /proc/net/dev|grep eth0|awk '{print $2}'|sed 's/eth0://g +'`");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system command question
by citromatik (Curate) on Aug 02, 2007 at 08:07 UTC | |
|
Re: system command question
by salva (Canon) on Aug 02, 2007 at 07:50 UTC | |
|
Re: system command question
by roboticus (Chancellor) on Aug 02, 2007 at 12:07 UTC | |
|
Re: system command question
by andreas1234567 (Vicar) on Aug 02, 2007 at 08:05 UTC | |
|
Re: system command question
by andreas1234567 (Vicar) on Aug 02, 2007 at 12:40 UTC |