I would like to keep an audit trail of commands entered and module output during metasploit console sessions that I can export and save with client data. Does metasploit have an equivalent to .bash_history?

also is there a way to do redirects? Sometimes the autopwn output is massive.

Or will I have to screenshot incessantly?