title: How to find count of a particular word in Different Files in Unix
body: <p>How Do i Find Count of a particular word in Different Files  in Unix:</p>
  
  <p><strong>I have</strong>: 50 file in a Directory (abc.txt, abc.txt.1,abc.txt.2, etc)</p>
  
  <p><strong>What I want</strong>: To Find number of instances of word 'Hello' in each file.</p>
  
  <p><strong>What I have used is</strong> <code>grep -c Hello abc* | grep -v :0</code></p>
  
  <p>It gave me result in Form of,</p>
  
  <pre><code>&lt;&lt;File name&gt;&gt;   : &lt;&lt;count&gt;&gt;
  </code></pre>
  
  <p>I want <strong>Output</strong> to be in a form </p>
  
  <pre><code>&lt;&lt;Date&gt;&gt;    &lt;&lt;File_Name&gt;&gt;   &lt;&lt;Number of Instances of word Hello in the file&gt;&gt;
  
  1-1-2001     abc.txt              23
  1-1-2014     abc.txt.19           57
  2-5-2015     abc.txt.49           16
  </code></pre>