Count lines in a file

suggest change

Count number of lines in all Java files:

> type *.java | Measure-Object -line

Lines Words Characters Property
----- ----- ---------- --------
 1240

Deconstruction:

You can also count words and characters with Measure-Object -line -word -character.

Count number of files:

> (ls *.go | measure -line).Lines
13

Deconstruction:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents