comment a line in bash script 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 bash
#SINGLE COMMENT
<<COMMENT
MULTILINE COMMENT
COMMENT
: '
MULTILINE COMMENT
'
echo "Hello Wordl"
Example 3: how to add comments in terminal ubuntu
#!/bin/bash
# By adding hash(#) before line it will takes it as comment.