Difference between revisions of "HISTTIMEFORMAT"
Jump to navigation
Jump to search
↑ https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
(Removed redirect to Bash history) Tag: Removed redirect |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
+ | * <code>echo '[[export]] [[HISTTIMEFORMAT]]="%d/%m/%y %T "' >> ~/.[[bash_profile]]</code><ref>https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/</ref> | ||
− | + | HISTTIMEFORMAT="%F %T " | |
+ | == Related == | ||
+ | * [[Bash history]] | ||
− | {{history}} | + | == See also == |
+ | * {{history}} | ||
+ | |||
+ | [[Category:Bash]] |
Latest revision as of 10:06, 18 August 2023
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: