bash multiline 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: shell comments

# This is a comment on powershell.
# It will work on bash too.

Example 4: linux multiline commet

# if [[ $VAR -gt 10 ]]; then
#  echo "Variable is greater than 10."
# fi

Example 5: multiline comment in bash

: << 'comment1'
	what ver you want to comment
comment1

Example 6: bash multiline comment

: '
This is a
very neat comment
in bash
'

Tags:

Misc Example