<p>Given a string file path such as <code>/foo/fizzbuzz.bar</code>, how would I use bash to extract just the <code>fizzbuzz</code> portion of said string?</p>

look at the basename command:
```
```
NAME="$(basename /foo/fizzbuzz.bar .bar)"
```
```
instructs it to remove the suffix
```
.bar
```
, results in
```
NAME=fizzbuzz
```