Are you working on a project and need to submit your progress, statistics or perhaps you need to calculate a value of your code? cloc is a powerful tool that allows you to count all lines of your code, exclude comment lines and white space and even sort it by programming language.
cloc is available for all major Linux distributions. To install cloc
on your system simply install cloc
package from system’s package repository: