Recording of batch commands
Ping baidu.com > a.txt
Ping bau.com > > a.tx
The function of > > is the same as that of > >. The difference is that the result is appended to the result of the previous line, specifically the next line, while the result of the previous command will be retained, which makes the a.txt file larger and larger.