title: Performing "grep" on multiple *.tar files and *.tgz
body: <p>I have a directory of about 10 files with *.tar extension.</p>
  
  <p>The 10 files have the following file name pattern.</p>
  
  <pre><code>File001.tar
  File002.tar
  File003.tar
  ..
  File010.tar
  </code></pre>
  
  <p>Is there a way I can grep all 10 files for "Error" passing a wildcard to the filename in a terminal. How do I do this and also how would I do this if all the files have the extension "*.tgz" ?</p>