$HISTTIMEFORMAT
–
Time Format of history Builtin
$HISTTIMEFORMAT defines how the history builtin prints the timestamps of history entries.
Links
Examples
- Print ISO dates (
yyyy-mm-dd): 1 2HISTTIMEFORMAT="%Y-%m-%d " history
BashSupport Pro is a Bash IDE with support for $HISTTIMEFORMAT – try it now!