in reply to How to check if a file has more than one line?

wc -l file

perldoc -q count

  • Comment on Re: How to check if a file has more than one line?