title: Get just the filename from a path in a Bash script
body: <p>How would I get just the filename without the extension and no path?</p>
  
  <p>The following gives me no extension, but I still have the path attached:</p>
  
  <pre><code>source_file_filename_no_ext=${source_file%.*}
  </code></pre>