wc -l <filename>
# output = <number of lines> <filename>
# to omit the file name in output
wc -l < <filename>
# output = <number of lines>
# count total line numbers of multiple files
find ./ -type f -exec wc -l {} ; | awk '{total += $1} END{print total}'