/bin/bash won't work on every system for example NixOS some other systems may have bash in /usr/bin or elsewhere
/bin/bash
NixOS 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.
/usr/bin
/bin
/bin/sh
/usr/bin/env
$PATH
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
/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
.