cat arquivo | wc -l ----- Original Message ----- From: "Leonardo Linden" <[EMAIL PROTECTED]> To: "FUG" <[email protected]> Sent: Wednesday, May 24, 2006 2:39 PM Subject: [FUG-BR] Como contar numero de linhas num txt
Tenho um arquivo de log, com trocentas mil linhas alguem sabe como contar elas via comandos do sheel ? tipo um cat | grep sei la o que retornar o numero de linhas do arquivo. É um txt normal de log.. []'s __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

