To redirect stdout to a truncated file in Bash, I know to use:
cmd > file.txt
To redirect stdout in Bash, appending to
In Bash 4 (as well as ZSH 4.3.11):
cmd &>>outfile
just out of box