Bash stores your history in a your ~/ folder called .bash_history. Unfortunately this is only a history of what was entered to stdin, and AFAIK there's no way to record stdout. Maybe someone will...