Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 270 Bytes

wc-l-is-faster-than-wc-for-retrieving-the-number-of-lines-in-a-large-file.md

File metadata and controls

3 lines (2 loc) · 270 Bytes

wc -l is Faster than wc For Retrieving the Number of Lines in a Large File

If you only need to know the number of lines in a large file, then using wc -l is faster than using wc, because the number of bytes and number of words in the file are not calculated.