有人可以向我解释使用 shell 命令>和>>使用 shell 命令时的区别吗?
>
>>
例子:
ps -aux > log ps -aux >> log
无论哪种方式,结果似乎都是一样的。
command-line
command-line ×1