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.
>清空文件,再写入
>>追加
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.
>清空文件,再写入
>>追加