shell comment in line code example Example: comment in shell script # This is a comment in Shell/Bash Script. # '#' Symbol is used show a comment.