minus-squarequantenzitrone@feddit.delinkfedilinkarrow-up1arrow-down1·1 year ago/bin/bash won’t work on every system for example NixOS some other systems may have bash in /usr/bin or elsewhere
minus-squarequantenzitrone@feddit.delinkfedilinkarrow-up1·1 year agoBinaries are not in /usr/bin or /bin except for /bin/sh and /usr/bin/env. Programs should not assume fixed paths for binaries and instead look for them in $PATH.
/bin/bash
won’t work on every system for example NixOS some other systems may have bash in /usr/bin or elsewhereNixOS didn’t do /usr merge?
Binaries are not in
/usr/bin
or/bin
except for/bin/sh
and/usr/bin/env
. Programs should not assume fixed paths for binaries and instead look for them in$PATH
.