On Fri, 2006-05-12 at 09:24 -0700, S t i n g r a y wrote:
> Sorry dennis, but i didnt get it ...
Ummm he wrote a single line shell script basically a For Loop.
for host in `arp -n | tail +2 | cut -f1 -d' '`;
do arp -d $host;
done
He just for got to remove the first line.
> --- Dennis Stosberg <dennis@stosberg.net> wrote:
>
> > S t i n g r a y wrote:
> >
> > > Well i cant seem to find a way to clear all the
> > > records in arp cache ...
> > > in other unix versions this commands works
> > >
> > > # arp -a -d
> > >
> > > but here it isnt working ?
> > >
> > > what can i do ?
> >
> > for host in `arp -n | cut -f1 -d' '`; do arp -d
> > $host; done
> >
> > Regards,
> > Dennis
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> > debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> >
> >
>
>
> *º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
--
greg, greg@gregfolkert.net
The technology that is
Stronger, better, faster: Linux
Attachment:
signature.asc
Description: This is a digitally signed message part