print to file

history > history_for_print.txt

Tags: