---

Bash History: How To Show A Timestamp When Each Command Was Executed

Want to add a timestamp (date and time) next to each command from your Bash history? This can be done by using the??HISTTIMEFORMAT??Bash variable.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis