According to this post, the shortcut
cmd &>> outfile
can be used. And to use this with Mac OS, I would need to upgrade to bash 4. I have done that using homebrew but this shortcut doesn't seem to work and
cmd >> outfile 2>&1
works.
Is there a reason that &>>
doesn't work on Mac OS?