3 ms·
My 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
by nailer 10y ago
My 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).