linux echo multilines of text block code example
Example: shell write multiple lines to file
#!/bin/bash
cat > /path/to/myfile <<EOL
write whatever youwant
with multiple lines
...
EOL
#!/bin/bash
cat > /path/to/myfile <<EOL
write whatever youwant
with multiple lines
...
EOL