You can use a here document:
cat <<EOF >filename
first line
second line
third line
EOF
You can place several of these in the same script.
You can use a here document:
cat <<EOF >filename
first line
second line
third line
EOF
You can place several of these in the same script.