shell write multiple lines to file code example Example: shell write multiple lines to file #!/bin/bash cat > /path/to/myfile <