Shebang
Shebang
A shebang is used to tell which interpretor to use to parse the file
#!interpreter [arguments]
Shebang Best practices
Use the env
utility in shebang instead of absolute path
#!/usr/bin/env bash
instead of
#!/bin/bash
A shebang is used to tell which interpretor to use to parse the file
#!interpreter [arguments]
Use the env
utility in shebang instead of absolute path
#!/usr/bin/env bash
instead of
#!/bin/bash