5 ms·
It's probably safer to use: #!/usr/bin/env bash Assuming env is installed (I believe I had to install a package on OpenBSD to use it) this will find the f
by wollw 14y ago
It's probably safer to use:
#!/usr/bin/env bash
Assuming env is installed (I believe I had to install a package on OpenBSD to use it) this will find the first instance of bash in the PATH.
- atsaloli 14y agoHow do you know env is in /usr/bin rather than in /bin or /usr/local/bin? I'm just curious...