Answers for "shell write multiple lines to file"

2

shell write multiple lines to file

#!/bin/bash

cat > /path/to/myfile <<EOL
write whatever youwant
with multiple lines
... 
EOL
Posted by: Guest on August-07-2020

Code answers related to "shell write multiple lines to file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language