title: Check if the file exist only by the file name (without the extension)
body: <p>This works just fine</p>
  
  <pre><code>if [[ -e img.png ]]
  then
       echo "exist"
  else
       echo "doesn't exist"
  fi
  </code></pre>
  
  <p>but what if I know that there might be imgage with name img but I do not know if the file is .jpg , .gif , .jpeg , .tff and so on.</p>
  
  <p>I do not care what is the extension I just want to know if there is a file with name 'img'</p>
  
  <p>How can I do this ?</p>