title: Creating temporary files in bash
body: <p>Are there objectively better ways to create temporary files in bash scripts?</p>
  
  <p>I normally just name them whatever comes to my mind, such as tempfile-123, since it will be deleted when the script is over. Is there any disadvantage in doing this other than overwriting a possible tempfile-123 in current folder? Or is there any advantage in creating a temporary file in a more careful way?</p>