Monday, May 30, 2011


Its always handy to capture the timestamp in your server's  history for audit purpose.

This is how it can be enabled.

Open ~/.bashrc file.

export HISTTIMEFORMAT="%h/%d - %H:%M:%S "

Some of my Favorite key on shell is :

Ctrl + r

Ctrl + p

history -c (Dangerous! It will wipe off entire history) , useful sometime for some victors ^_^ though..!!


No comments:

Post a Comment

AWS re:Invent summary 2017

As you might know, this year’s AWS re:Invent was held @ Las Vegas 11/27 – 12/1.   Below links could be a good start to explore all ...