~/.bashrc ã«ä»¥ä¸ãè¨å®|add follow settings in ~/.bashrc # Make bash append rather than overwrite the history on disk shopt -s histappend # Whenever displaying the prompt, write the previous line to disk and read unread history lines export PROMPT_COMMAND="history -a; history -n" histappend ã®èª¬æ|about histappend histappend If set, the history list is appended to the file named by the value of the HISTFILE
{{#tags}}- {{label}}
{{/tags}}