Bash - Write Multi-line Content to File

cat > testing.txt << EOF This is some Multiline content ...... that will be written to the testing .txt <VirtualHost 127.0.0.1> ServerName localhost DocumentRoot "C:/wamp/www" </VirtualHost> original content has been replaced. ... .. . EOF

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.