Re:When did I run that command? Update your Bash prompt with...
by ansible on Saturday April 18, 2020 @09:44PM
(#22912767)
I had no idea! I was about to try out the linked article, but this is all I really need. Excellent!
[ Parent
| on HN ]
Re:When did I run that command? Update your Bash prompt with...
by countermeasure on Saturday April 18, 2020 @10:00PM
(#22912832)
I recommend using both approaches together.
With an updating prompt, you can see when a command ran without having to type 'history'.
And adding a date/time stamp to history is very useful when you need to go back further - hours, days or months.