> 表示 覆盖spa
>>表示追加到文件结尾文件
echo hello1 > /tmp/hi.txtco
hi内容:background
hello1
echo hello2 > /tmp/hi.txt
hi内容:
hello2
echo hello3 >> /tmp/hi.txt
hello3