$export HISTTIMEFORMAT='%F %T ' $history grep | "2014-05-29"Output:
1 2014-05-29 10:40:12 /opt/lampp/lampp start 2 2014-05-29 10:40:12 clear 3 2014-05-29 10:40:12 /etc/init.d/iptables stop 4 2014-05-29 10:40:12 clear 5 2014-05-29 10:40:12 history 6 2014-05-29 10:40:12 ping hiox.com 7 2014-05-29 10:40:12 cd /opt/lampp/htdocs