title: How to read lines of data from multiple files
body: <p>I need to extract data from files in directory <code>/tmp/log</code>.
  I have no problem extract from single file.</p>
  
  <pre><code>#!/bin/bash
  while read line;
  do
    echo $line
  done &lt; /tmp/log/file1
  </code></pre>
  
  <p>I want try it with multiple files <code>/tmp/log/*</code> but it returned error <code>ambiguous redirect</code>.
  Any idea how can I around it?</p>