Add time stamps in bash history

user-pic
Vote 0 Votes

echo HISTTIMEFORMAT=\"%F %T \" >> /etc/profile

history
996 2017-12-14 12:49:18 ifconfig
997 2017-12-15 12:06:55 ifconfig
998 2017-12-15 12:49:08 ifconfig
999 2017-12-15 12:51:11 ifconfig
1000 2017-12-15 13:38:41 ifconfig

About this Entry

This page contains a single entry by Pank published on December 21, 2017 3:09 PM.

Get SSL certificate issuer and expire date was the previous entry in this blog.

Certbot is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives