4 ms·
Shell scripts are usually interoreted by the interpreter defined in the shebang and /bin/sh is a posix sh.
by jlg23 7y ago
Shell scripts are usually interoreted by the interpreter defined in the shebang and /bin/sh is a posix sh.
- JoshTriplett 7y agoThat's my point: the shell used on the command line should use similar syntax to the shell people most commonly use for scripting.
- petre 7y ago/bin/sh is mostly intended for scripts, less so as an interactive user shell. It needs to be small, fast and as bugfree as possible, as opposed to offering a plethora of user interactive features. That's why FreeBSD uses sh and debian uses dash for this purpose.