What does tee command do in MySQL?

tee followed by a filename turns on MySQL logging to a specified file. It can be stopped by command note.