klenwell information services : BashWc

Bash Word-Counting

return to DevBash

Code

Simple file line count
wc -l filename.txt


References

http://stackoverflow.com/questions/114814/count-non-blank-lines-of-code-in-bash