Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #comments #bash #file
ADD COMMENT
Topic
Name
4+5 =