cat命令在文件中插入内容

eg:

cat>> xxx <<EOF
insert 1
insert 2
EOF

原文地址:https://www.cnblogs.com/fanxuanhui-linux/p/6242873.html