title: du: cannot access file No such file or directory
body: <p>I need a push in a bash script to get data from filename but i get an error with <code>du: cannot access file /home/user/public_html/file.txt No such file or directory</code></p>
  
  <p>This is my bash script: </p>
  
  <pre><code>#!/bin/bash
  
  FILENAME=/home/user/public_html/file.txt
  SIZE=$(du -sb $FILENAME | awk '{ print $1 }')
  
  if ((SIZE&gt;9000)); then 
      echo "IS OK"; 
  else 
      mail -s "IS NOT OK. " user@domain.do &lt; /dev/null
  fi
  </code></pre>