linux shell script comment block code example
Example 1: comment in shell script
# This is a comment in Shell/Bash Script.
# '#' Symbol is used show a comment.
Example 2: bash script block comments
# Apparently block comments don't exist in shell scripts.
# With vi or vim you can comment many lines at a time with this syntax:
:start_row, end_row s/^/#/
# For example:
:10,100s/^/#/ # To comment lines 10 to 100
# To uncomment, use:
:10,100s/^#//