> >Can someone tell me what command I
> >can use to go to machines and count the 
> >lines on a certain file?

    perl -ne '/\n/ and $i++; eof and print $i'  <filename>

where <filename> isn't really in <>s.

(Btw, be wary of using eof().
Otoh, sometimes it's just what you want.)


Reply via email to