Difference between revisions of "PROMPT COMMAND"
Jump to navigation
Jump to search
(Created page with " export PROMPT_COMMAND='history -a' * {{history}}") |
|||
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | Save every executed command to: <code>[[~/.bash_history]]</code> | ||
export PROMPT_COMMAND='[[history -a]]' | export PROMPT_COMMAND='[[history -a]]' | ||
Revision as of 14:28, 25 January 2024
Save every executed command to: ~/.bash_history
export PROMPT_COMMAND='history -a'
- Bash history:
history[ -a | -c | -r ]
,history --help
,~/.bash_history
,HISTFILE, HISTSIZE, HISTTIMEFORMAT, HSTR
Advertising: