linux中echo命令向一个文件写入内容

转自:http://blog.chinaunix.net/uid-28458801-id-3460227.htmlhtml 覆盖型写法 (文件里原来的内容被覆盖)ui echo "aaa"  >  a.txt echo aaa > a.txt 添加型写法 (新内容添加在原来内容的后面) echo "aaa"  >>  a.txt echo aaa >> a.txt 其中 echo <string>
相关文章
相关标签/搜索