title: How to print the number of characters in each line of a text file
body: <p>I would like to print the number of characters in each line of a text file using a unix command. I know it is simple with powershell</p>
  
  <pre><code>gc abc.txt | % {$_.length}
  </code></pre>
  
  <p>but I need unix command.</p>