title: cat command loading file
body: <p>Does cat command load the entire file into main memory?</p>
  
  <pre><code>for i in `cat file.txt`; do
      # some logic on i
  done
  </code></pre>
  
  <p>Will this code has any performance issue when the file is large say 5-6 GB?</p>