问天玄铁
2014-11-12 15:48
mac 终端的用 &>> 会报错
-bash: syntax error near unexpected token `>'
我的也是
我也是 ls &>>test.log 结果报错 -bash: syntax error near unexpected token `>'
我的是Centos5.5 也报错
[root@bogon ~]# ls &>> test2.log
-bash: syntax error near unexpected token `>'
我用的RHEL,也是出现同样的报错信息,但用 命令 &>文件 却正常,追加就出错了。
嗯,所以可以用命令 >> 文件 2>&1和&>
Linux达人养成计划 I
399892 学习 · 3881 问题
相似问题