$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 2
HISTTIMEFORMAT="%Y-%m-%d " history
BashSupport Pro 是一个 支持 $HISTTIMEFORMAT 的 Bash 集成开发工具 – 马上试用!