To append both standard output and standard error to a file instead of overwriting it, you can use the &>> operator in bash.
Example:
command &>> output.txt
In this example, both the output and any error messages from command will be appended to output.txt. If the file does not exist, it will be created.
