Shell-script - How to comment multiple lines in shell program, Comment a line in shell scripting
How to comment multiple lines in shell program
Shell script can be commented by using #.Adding the # symbol at the beginning of the line will comment the entire line.
# this will comment a single line
To comment multiple lines use
#!/bin/bash
echo "Say From your heart" #Never Lie
<<COMMENT1
This will comment multiple lines
It is used by the programmers to
explain the program
COMMENT1
echo "Do the right thing"
You can also comment multiple lines by adding # at the beginning of all the lines.
# Comment on shell script # Explain shell scripting # Comment on bash script
The topic on Shell-script - How to comment multiple lines in shell program is posted by - Math
Hope you have enjoyed, Shell-script - How to comment multiple lines in shell programThanks for your time