#to record/log all commands and output during a session on the terminal script session.log #to exit ctrl D or type "exit" #to read file use ansi2txt or ansi2html to convert to plain text or html respectively ansi2txt <log file> output_file_name