comments in bash file
# Comments syntax for bash files # This is a "inline "comment (it lasts till the end of the line) echo " ==== Starting bash file ... ==== " # multi-line Comments syntax for bash files : ' This is a wonderful multi-line comments useful for documentation Purposes ' # inline comment echo " ==== Ending bash file ... ===="
Source: www.geeksforgeeks.org
bash comment section to a file
cat << ABC > ./file1.tmp 1.whatever you want 2.whatever you want 3.whatever you want ABC #here line 1 2 3 will go to file1.tmp #in the script line 1 2 3 are comments