linux 创建文件并写好内容

cat > 文件名.txt<<eof

你的文件里面的内容

eof

古之善为士者,微妙玄通,深不可识
原文地址:https://www.cnblogs.com/xzhg/p/14482161.html