write multiple lines in to a file 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