: '
This is a
very neat comment
in bash
'
# Don't forget the : sign at the beginning
<<comment-tag
comment/code goes here
comment-tag
Use '<<' operators to start the comment, and add a comment tag.
To end the comment use the same comment tag.
# Just do something like this for multiple line comment
: 'I am the first line and
the second line and
the third line here
'
# Don't forget the : sign
: << 'AAA'
what ver you want to comment
AAA
# Comments syntax for bash files
# This is a "inline "comment (it lasts till the end of the line)
echo " ==== Starting bash file ... ==== "
# multi-line Comments syntax for bash files
: '
This is a wonderful
multi-line
comments useful for documentation
Purposes '
# inline comment
echo " ==== Ending bash file ... ===="
: '
This is a
very neat comment
in bash
'
# Multi Line Comment
: '
This is a
very neat comment
in bash
'
# This is a Bash Single Line Comment.
echo "This is Code" # This is an inline Bash comment.