Bash backward compatibility

PDF

Although most Linux distrubutions are shipped with BASH as default shell you might experience some machine's don't have the BASH shell installed but the SH shell. If you write shell scripts which will be used on several machines you might start your scripts with the indicator to use sh instead of bash for backward compatibility:

#!/bin/sh
Tags:
 

Please login first before adding a comment.

Search






You are here: Home Howtos and FAQs Bash Bash backward compatibility