重定向

A little understanding of how *nix pipes work would help.

In short the '>>' pipe operator will append lines to the end of the specified file,

where-as the single greater than '>' will empty and overwrite the file.

>清空文件,再写入

>>追加

原文地址:https://www.cnblogs.com/chucklu/p/6432159.html