On 10/27/06, lonely wolf <[EMAIL PROTECTED]> wrote:
[...]
ca fapt divers, ca oricum probabil dan nu are acces la sort si grep :
exista sort -u
atunci, daca are access la ping, grep si awk:
[EMAIL PROTECTED] ~]# ping -I eth0 -w 1 -c 1 localhost | grep PING | awk
'{print $5;}'
172.18.7.1
[EMAIL PROTECTED] ~]#
sau "cut" in loc de awk:
[EMAIL PROTECTED] ~]# ping -I eth0 -w 1 -c 1 localhost | grep PING | cut -f5
-d' '
172.18.7.1
[EMAIL PROTECTED] ~]#
Pana la urma, Dane, ai acces la ce anume pe masina aia? Ping? sort?
grep? awk? cut?
Mures
--
...and justice for all...
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug