What's the difference between using > and >> in shell?

后端 未结 6 1934
温柔的废话
温柔的废话 2021-01-14 07:07

I\'ve seen somewhere that we can use >> in shell. What\'s the difference between using > and >> in shell?

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-14 07:20

    >> is for appending whereas > is for writing (replacing).

提交回复
热议问题