echo "aaa">test.sh

该指令会覆盖文件原内容,如果文件不存在,则创建

echo "aaa">>test.sh

追加文件内容

http://blog.csdn.net/xukai871105/article/details/35834703

相关文章: