Question: How do I find out what time I executed a command previously on Unix OS? The history command doesn’t display timestamp.
Answer: Set HISTTIMEFORMAT as shown below. Please note that there is a space before the last single-quotes.
(more…)
{ 4 comments }


My name is Ramesh Natarajan. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. My focus is to write articles that will either teach you or help you resolve a problem. Read more about