title: Accessing files in the shell script
body: <p>i am trying to access file email.txt in the script (directory of .txt file and the script is same)</p>
  
  <pre><code>!#bin/bash
  total="$(wc -l &lt; email.txt | tr -d ' ')"
  echo "$total"
  </code></pre>
  
  <p>it's showing permission denied. 
  Thankyou for any help</p>