Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

commenting multiple-line 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 by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #commenting #bash #file
ADD COMMENT
Topic
Name
1+7 =