How can I get the timestamp of each command line in my terminal history?
history -f
is a good way to prints timestamp.
Assuming you are using command prompt
HISTTIMEFORMAT="%d/%m/%y %T "
then
history
http://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/