Re:Understanding the bin, sbin, usr/bin, usr/sbin split (2010)
by toast0 on Wednesday March 18, 2020 @12:20PM
(#22618297)
/bin/bash is popular in Linux systems, but not BSD or Mac or probably other Unixes which may not always have bash and if they do have it, it will be somewhere else. Also, a number of niche-ish Linux distributions are trying to replace bash with something else. It's no longer as portable as it once was.
[ Parent
| on HN ]
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).