# Reroute stderr to stdout and put both in file
«command» 2>&1 > «file»