dcsimg
Linux Today: Linux News On Internet Time.





Enable Timestamp For History Command In Zsh In Linux

Nov 30, 2020, 08:00 (0 Talkback[s])
(Other stories by Senthilkumar)

You can show the date and time stamps in Bash history output in Linux by using the HISTTIMEFORMAT environment variable. However, you don't need to set any env variable in Zsh. Zsh, by default, has a few built-in flags to show the date and time in history command output.

Complete Story