Linux中“>”和“>>”的区别

> 覆盖

root@xxxxxxxxx:/home# echo "world1" > 11.txt 

 

>> 追加

root@xxxxxxxxx:/home# echo "world" >> 11.txt

posted @ 2024-07-03 20:12  tslam  阅读(2)  评论(0编辑  收藏  举报