Bash Scripting - Basics
You want to write a script that runs with Bash but also works if Bash is installed in a different location. Which shebang line is best?
#!/usr/bin/env bash uses the env command to locate Bash in the user's PATH.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions