Apples vs Oranges: "What is essential to run barebones debian?" vs "What is essential to my barebones working environment?" While bash
may be essential for the OP's working environment, it is not
essential to barebones debian (written for dash
) or even other command line users (insert merits of your favorite shell here).
There are good arguments for both familiarity with Bourne/POSIX syntax and writing scripts with a #!/bin/sh shebang statement:
- They use the lighter/faster dash* in a debian environment.
- They are far more portable in *nix environments.
- Bash is not always available (busybox provides ash or even more restricted shells in very old versions).
* Ironically, dash
is treated as a Bourne shell replacement but missing one feature (LINENO) to be 100% POSIX compliant.