Digital Marketing

Count lines by PowerShell

Measure-Object -line can count the lines for you

Examples:

(ls | Measure-Object -line).Lines

(cat *.txt | Measure-Object -line).Lines

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database