title: What is the mysql command to pipe all command line input to a file on Fedora OS?
body: <p>I run several queries from mysql command line on my linux box (Fedora Os). I would like to capture all these automatically to a file. I know there is command in Linux called history and then you can pipe it to a file. Is there anything similar for MYSQL. I would like to save all my scripts and sql query just for reference sake at a later point in time.</p>
  
  <p>Help Appreciated.</p>