HISTTIMEFORMAT
Jump to navigation
Jump to search
↑ https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile
[1]
HISTTIMEFORMAT="%F %T "
Related[edit]
See also[edit]
- Bash history:
history[ -a | -c | -r ]
,history --help
,~/.bash_history
,HISTFILE, HISTSIZE, HISTTIMEFORMAT, HSTR
Advertising: