Skip to content
zero2vibecodelearn vibe coding

What wc -l does

Count the lines in a file.

wc-lnotes.txt
  • wccommand — count lines / words / characters
  • -lflag — lines
  • notes.txtargument: a file, a folder, or text

What it does when you run it

$ wc -l notes.txt
4 notes.txt

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii