Why You Should Use ‘sh’ Syntax Instead of Defaulting to ‘bash’

We are unknowingly doing a mistake in writing our linux shell scripts, and most often we are not paying attention to the syntax according to it’s interpreter. Consider the shell script below: It is a very na├»ve and simple script to install a myservice script at boot (or to remove it). For a casual personalContinue reading “Why You Should Use ‘sh’ Syntax Instead of Defaulting to ‘bash’”