append with eof

Michael Havens bmike1 at gmail.com
Mon Mar 9 20:41:58 MST 2015


Okay now, I learned just today how >> works and I want to update all of my
reinstall scripts so all I need to do is copy-n-paste into a terminal and
everything will be done. Learned when I was doing Linux from scratch  that
to create a file of multiple lines without starting an editor you do:

*cat > filename << "EOF"
*contents

*of*

*file*

*EOF*

 Oh.... I think I get it. just turn the '>' into '>>'
am I correct?

:-)~MIKE~(-:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20150309/09a2e8cc/attachment.html>


More information about the PLUG-discuss mailing list