Horje
to remember all commands typed in multiple  terminal Code Example
to remember all commands typed in multiple terminal
# Avoid duplicates
HISTCONTROL=ignoredups:erasedups
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend

# After each command, append to the history file and reread it
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"




Shell

Related
iis restart command promt Code Example iis restart command promt Code Example
how to install rpm package opensuse Code Example how to install rpm package opensuse Code Example
mac bash_profile file not being sourced Code Example mac bash_profile file not being sourced Code Example
delete strings after match to eol using sed command Code Example delete strings after match to eol using sed command Code Example
invert Code Example invert Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13