Differences
This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
linux_wiki:bash_history [2019/11/04 20:15] billdozor created |
linux_wiki:bash_history [2019/11/04 20:21] billdozor [bashrc changes] |
||
---|---|---|---|
Line 19: | Line 19: | ||
# Ignore duplicate lines and lines that start with a space | # Ignore duplicate lines and lines that start with a space | ||
HISTCONTROL=ignoreboth | HISTCONTROL=ignoreboth | ||
+ | |||
+ | # Format history with full date and time | ||
+ | HISTTIMEFORMAT=' | ||
+ | |||
+ | # Save history after each command | ||
+ | PROMPT_COMMAND=' | ||
</ | </ | ||