I've just come across the << command, used like so:
cat > outfile.txt <<EOF
Multi-line content
that will be written to outfile.txt
EOF
Now, I've no idea what this is called, but I'd quite like to know it's name, primarily so I can go and search and find out more about its syntax. Sadly, Googling for "<<" just doesn't work.
EOF > outfile.txtat the end, which doesn't work well – Michael Mrozek Oct 08 '10 at 14:07man bashand look for<<(in mymanviewer, the search command is the/character, so/<<gets me to the right section). – jfg956 Mar 23 '12 at 08:33cat <<< this line is fed to cat(a one-line here-doc) which can be handy sometimes. – olejorgenb Sep 20 '16 at 02:29