3 ms·
I thought that was sh (i.e. bourne shell). As far as i remember bash is not the default shell on a lot of unices.
by hulitu 5y ago
I thought that was sh (i.e. bourne shell). As far as i remember bash is not the default shell on a lot of unices.
- cfeliped 5y agoMy understanding is that sh is a specification, not an implementation. Most images will either have bash or ash installed. ash, being lightweight, is the choice of alpine and related distros.
- asveikau 5y agoThis is a bit of a Linux specific view of the universe. Yes posix has a standard for how sh should work. But there were specific implementations of sh, and you would get those on commercial Unix or *BSD. Later shells came in and filled some gaps. OpenBSD still has ksh by default. Linux distros had bash as their /bin/sh.
- cfeliped 5y agoI didn't know that. Thank you for the explanation!