how to put multiline comments in a shell script like /* Some code */ in C language?
There is no multiline comment in Shell script
: '
comments here
and here
'
If your comments contain single quotes:
: <<'END'
comments' here
and here
END
Just make sure that the string END does not appear among the commented lines. Or chose a marker which is not so easily repeated.
:<<supercalifragilisticexpialidocious
echo "This will not get printed"
echo "Yet another escape"
supercalifragilisticexpialidocious