Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

record bash_history immediately

shopt -s histappend
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #record #immediately
ADD COMMENT
Topic
Name
9+8 =