title: How do I tell if a file does not exist in Bash?
body: <p>This checks if a file exists:</p>
  <pre><code>#!/bin/bash
  
  FILE=$1     
  if [ -f $FILE ]; then
     echo &quot;File $FILE exists.&quot;
  else
     echo &quot;File $FILE does not exist.&quot;
  fi
  </code></pre>
  <p>How do I only check if the file does <strong>not</strong> exist?</p>