Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #bash #comment #section #file
ADD COMMENT
Topic
Name
2+6 =