Hello readers,
Today, we are going to learn how to use two commands to count coding file lines.
First of all, open a terminal window.

Choose a file of your own, one on a directory, can be a c++ file under a c++ project folder.

Now, we are going to choose main.cpp

As you see, you can see 173 lines. If it shows less or greater good.
Now, type cloc . then you will see a detailed image like mine.

Leave a Reply