Count the lines of a file
100587
Number of lines in a file in Java
32318
What's the best way to count the number of files in a directory?
90399
Carrying counters over to another file
43107
Count the number occurrences of a character in a string
95381
How to run grep and show x number of lines before and after the match
77303
How to get the file name and a line number of a function call?
35921
script to count files in a directory
50383
How can I search for a multiline pattern in a file?
129848
Counting the number of occurences of characters in a string
69754
How to display line number while doing grep on a file
79790
Count files in a directory by extension
80204
How can I get a specific line from a file?
124318
Is there a faster way to remove a line (given a line number) from a file?
136327
How to count number of words from String using shell
38071
Count records matching pattern with Awk
140408
Count distinct values of a field in a file
137454
Count number of occurrences of token in a file