Lesson 11 · Reading and Writing Files · Zero to AI Hero by Meegrow Labs
You count lines, words, and characters in a file with the wc command — wc -l gives just the line count, which is useful for quickly measuring how big a file is.