When you’re debugging, especially a complex system, especially during an outage or postmortem, understanding when your commands executed relative to when your log lines appeared is really helpful.
That's a poor and hacky substitute of using Linux audit features. It's perhaps the right robustness/complexity trade off for my personal machine, but for work they likely already have audit features turned on and you can access the timing from there.
sounds like your describing https://linux.die.net/man/1/ts
Oh, that's an interesting use case, alright.
That's a good reason to have timestamps in the history, which you should.
Something like
really ought to be default in bash.It's not as clear why you need it in the interactive prompt.