$ cat > filename << "EOF"
> First line of file
> second line
> EOF
$ cat filename
First line of file
second line

I love it!

Advertisements