#!
, not
!#
, for the shebang.!#/bin/sh
echo "Hello World"
#!/bin/sh
echo "Hello World"
The shebang has been accidentally swapped. The #
should
come first: #!
, not !#
.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.