3 ms·
I believe xe meant "default login shell". Also, "Bourne Again shell", while we're complaining about missing words :-)
by the_why_of_y 10y ago
I believe xe meant "default login shell". Also, "Bourne Again shell", while we're complaining about missing words :-)
- nailer 10y agoMy username is nailer not xe, but you're right, I meant default login shell when I wrote 'default shell', rather than what bin sh is linked to. Even if bin sh links to bash, bash will still run a bin sh script in Bourne shell mode, stripping newer features, in some cases. Hence why proper scripts alway specify bash explicitly. However I meant Bourne shell when I wrote 'ignore all the good things bash brings and write everything in Bourne shell.' Bourne shell being the original /bin/sh (though it's murky).
- JdeBP 10y agoXe would have been a bit daft to mean that, given the headline topic as well as that the conversation so far has dealt in shell scripts and shell script interpreters, to which the choice of login shell is almost wholly irrelevant.