3 ms·
There once was a time when the only common things you could expect to be present on a Linux system were the good old `sh` (not `bash`) and a more or less old ve
by mschuster91 4y ago
There once was a time when the only common things you could expect to be present on a Linux system were the good old `sh` (not `bash`) and a more or less old version of `perl`.
The commands supported by `sh` are... let's keep it at "fossilized from somewhere in the 80s", and so the only alternative was perl which has a ... history of being not exactly user-friendly to code for.
- marcus0x62 4y agoEh? Bash predates Linux by a couple of years. I don’t remember any early Linux system — my frame of reference begins in 1994 — without bash as the default shell.
- edgyquant 4y agoLinux was built out initially with a hard coded call to bash
- mschuster91 4y agoThe common Debian expectation to this day is to keep acting like you only had POSIX shell features aka /bin/sh [1]. You may use /bin/bash if you like though. [1] https://www.debian.org/doc/debian-policy/ch-files.html#s-scripts https://www.debian.org/doc/debian-policy/ch-files.html#s-scr...
- marcus0x62 4y agoThat may be their expectation stylistically, but the first Debian release shipped[1] with bash as the default shell. I’m not aware of them ever having shipped the original Bourne shell. Your claim — that I was responding to - was that on early Linux systems you might only find the Bourne shell but not bash. That simply was not the case. 1 - http://archive.debian.org/debian-archive/debian/dists/buzz/main/source/base/ http://archive.debian.org/debian-archive/debian/dists/buzz/m...
- edgyquant 4y agoThis is wrong, initially Linux was quite literally a bash kernel