$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 是一个 支持 $HISTTIMEFORMAT 的 Bash 集成开发工具 – 马上试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款