title: Unix Command to get the count of lines in a csv file
body: <p>Hi I am new to UNIX and I have to get the count of lines from incoming csv files. I have used the following command to get the count.</p>
  
  <pre><code>wc -l filename.csv
  </code></pre>
  
  <p>Consider files coming with 1 record iam getting some files with * at the start and for those files if i issue the same command iam getting count as 0. Does * mean anything in here and if i get a file with ctrlm(CR) instead of NL how to get the count of lines in that file. gimme a command that solves the issue. Thanks in advance.</p>