If file.sql holds SQL statements to be executed, what will be in file.txt?
mysql < file.sql > file.txt
a copy of the contents of file.sql
an error indicating that this is invalid syntax
the error output of the MySQL command
the non-error output of the MySQL command