$HISTTIMEFORMAT  –  Time Format of history Builtin

$HISTTIMEFORMAT defines how the history builtin prints the timestamps of history entries.

Examples

Print ISO dates (yyyy-mm-dd):
1
2
HISTTIMEFORMAT="%Y-%m-%d "
history
BashSupport Pro is a Bash IDE with support for $HISTTIMEFORMATtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal