Linux Today: Linux News On Internet Time.

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

Jul 15, 2019, 12:00 (0 Talkback[s])
(Other stories by Anonymous)

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.

Complete Story