bash 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 line in bash file
# Bash comment
Example 3: comment in shell script
# This is a comment in Shell/Bash Script.
# '#' Symbol is used show a comment.
Example 4: shell comments
# This is a comment on powershell.
# It will work on bash too.
Example 5: comment in bash
#SINGLE COMMENT
<
Example 6: how to add comments in terminal ubuntu
#!/bin/bash
# By adding hash(#) before line it will takes it as comment.