In the header of a Bash script, what\'s the difference between those two statements:
#!/usr/bin/env bash
#!/usr/bin/bash<
Using #!/usr/bin/env NAME makes the shell search for the first match of NAME in the $PATH environment variable. It can be useful if you aren't aware of the absolute path or don't want to search for it.
#!/usr/bin/env NAME