bash script comment code example
Example 1: bash comment
# This is a Bash comment.
echo "This is Code" # This is an inline Bash comment.
Example 2: comment in shell script
# This is a comment in Shell/Bash Script.
# '#' Symbol is used show a comment.
Example 3: comment in bash
#SINGLE COMMENT
<<COMMENT
MULTILINE COMMENT
COMMENT
: '
MULTILINE COMMENT
'
echo "Hello Wordl"
Example 4: how to add comments in terminal ubuntu
#!/bin/bash
# By adding hash(#) before line it will takes it as comment.