2>&1 与 2>>&1 有区别吗?

Is there diffrence in 2>&1 vs 2>>&1?

2>&12>>&1在Linux有区别吗?

我知道 > 和 >>。 还知道 1,2,3 均值标准 output/error/input.

我在 bash 中遇到语法错误。

$ echo hello 2>>&1
-bash: syntax error near unexpected token `&'`

>> 仅适用于真实文件路径

$ echo hello 1>>/tmp/xx