Re:Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
by bobbyi_settv on Wednesday March 18, 2020 @05:18PM
(#22621353)
It's not just about whether it exists but also the version.
For example, on my (Mac) laptop, /bin/bash is bash 3.2.57 (released in 2007), while "/usr/bin/env bash" gets the version installed by homebrew which is 4.4.19 (released in 2016).
For example, on my (Mac) laptop, /bin/bash is bash 3.2.57 (released in 2007), while "/usr/bin/env bash" gets the version installed by homebrew which is 4.4.19 (released in 2016).