FunctionRacerProblemsRace

Count the Lines

BeginnerBasha shell script

Print how many lines notes.txt has: the number alone, nothing after it.

Example 1

notes.txt
milk
eggs
tea
prints
3

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Bash problems