run shell sh file code example
Example 1: shell script sh
#!/bin/sh
# This is a comment!
echo Hello World # This is a comment, too!
Example 2: how to run shell script
bash yourfile.sh
#!/bin/sh
# This is a comment!
echo Hello World # This is a comment, too!
bash yourfile.sh