3 ms·
I think I misread the original recommendation as being the other way round i.e. to use #!/usr/bin/env bash instead of #!/bin/bash. That's why env is generally
by ndsipa_pomu 2y ago
I think I misread the original recommendation as being the other way round i.e. to use #!/usr/bin/env bash instead of #!/bin/bash.
That's why env is generally preferred as it finds the appropriate bash for the system.