cat << EOF > /tmp/yourfilehere These contents will be written to the file. This line is indented. EOF