Created
November 26, 2015 15:10
-
-
Save ajaegers/a619a29670cb8082e7b2 to your computer and use it in GitHub Desktop.
Bash create file and insert multiline content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat <<EOF > result.txt | |
Content 1 | |
Content 2 | |
Content 3 | |
Content 4 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment