Register now and start sharing your code snippets.
-->

Linux here documents

Shell Script (Bash) posted 6 months ago by marko

Simple usage of a here document in Linux.

   1  marko@x61s:~$ cat << EOF > /tmp/hubbabubba
   2  > hubba
   3  > EOF
   4  marko@x61s:~$ cat /tmp/hubbabubba 
   5  hubba

Tagged here document, linux