cat << EOF > /somefile
These contents will go into file.
EOF
Created
December 15, 2016 00:18
-
-
Save usmansaleem/8aad447036d7efd5326c7e2fc238bb5c to your computer and use it in GitHub Desktop.
Heardoc example (Writing contents to a file from shell)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment