On this Debian Jessie installation, Bash history seems to be behaving inconsistently in Gnome Terminal:
$ echo $USER
me
$ echo $HISTFILE
/home/me/.bash_history
$ grep browser ~/.bash_history
browser-sync start
$ history | grep browser
2071 grep browser ~/.bash_history
2073 history | grep browser
The browser-sync
line from the ~/.bash_history
file is quite old: much older than the current Terminal session. Why isn't it showing up in the results from history | grep browser
?