Re:Understanding the bin, sbin, usr/bin , usr/sbin split (2010)
by nilved on Saturday May 07, 2016 @08:46AM
(#11649370)
Regarding your last sentence, why does having grep in /bin reduce the chance of mkdir working?
Re:Understanding the bin, sbin, usr/bin , usr/sbin split (2010)
by teamhappy on Saturday May 07, 2016 @08:51AM
(#11649380)
I doesn't reduce the chance of mkdir working but it does increase the chance of you missing a bug in the part of your source tree that needs to be rock solid.
Re:Understanding the bin, sbin, usr/bin , usr/sbin split (2010)
by mattmanser on Saturday May 07, 2016 @08:38AM
(#11649343)
Did you read the link?
/usr/{bin,sbin} is for stuff you can live without but expect to be there (e.g., make, grep, less).
/usr/local/{bin,sbin} is for stuff you/your local admin installed (e.g., mosh, cmake).
Also, I use $HOME/{bin,sbin} for wrapper scripts, binaries that I need but don't want to install system-wide (single-file C utils that come without man pages, stuff like that).
I'm not sure where the confusion comes from and I don't really see any advantage in merging / and /usr. On the flip side, I do think there's value in keeping /{bin,sbin} as small as possible (because that stuff has to work).