cat file | wc -l
 
[root@mail2 root]# cat /etc/passwd | wc -l
     34
----- Original Message -----
From: cana rich
Sent: Tuesday, August 20, 2002 4:23 PM
Subject: HowTo : know how many line contains a file

Hello,

  How can i know how many lines is in a file?

Thanks for your help

Canarich



Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !

Reply via email to