[ LUGOS ] obdelava outputa

LEGO Andy andy na x0.org
Sre Feb 2 17:07:13 CET 2000


> >           inet addr:192.168.200.56  Bcast:192.168.2.255  Mask:255.255.255.0
> > 
> > izrezal vse med "addr:" in " Bcast"
> 
> ifconfig eth0 | grep inet\ addr | awk '{print $2}' | cut -b 6-

ifconfig eth0 | perl -e 'foreach(<>){$i=$1 if/r:([^ ]+)/}; print $i'

		Andy

------------------------------------------------
  |\      _,,,,--,,_    E-MAIL: andy na x0.org
  /,`.-'`'    -,  \-;,	ICQ:    10024539
 |,4-  ) ),,__ ,\ (  ;;	URL: http://andy.x0.org
'---''(.'--'  `-'`.)`'	TEL: 301 725 5724
------------------------------------------------




Dodatne informacije o seznamu Starilist