.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: run sh file
sh yourfile.sh
#!/bin/sh
# This is a comment!
echo Hello World # This is a comment, too!
sh yourfile.sh