Usage of shell script References: Learn Shell, Shell 教程 | 菜鸟教程 The first line of shell script file begins with #!, followed by the full path where the shell interpreter is located. For example,
#!/bin/bashTo find out the currently active shell and i…