o Filename --output Filename

-o filename --output filename writes all query output into file filename. This is equivalent to the command \o.