comments in bash file 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: how to add comments in terminal ubuntu
#!/bin/bash
# By adding hash(#) before line it will takes it as comment.