To count the number of lines in a file use: $ SEARCH/NOOUTPUT/STATISTICS file ""