Pass multi-line string to a file

terminal

# cat  >filename ... - overwrite the file
# cat >>filename ... - append to a file
cat > filename << __EOF__
data data data
__EOF__
click the source code to copy install terminal on any operating system with command-not-found.com