shell-11输入内容到文件

1.输入单行内容到文件:echo "111">1.txt

2.输入多行内容到文件:cat <<EOR >1.txt

<111

<222

<333

<EOF

猜你喜欢

转载自www.cnblogs.com/jingzaixin/p/12436436.html