Category:Bash

Hotkeys
C-x,C-e  edit in $EDITOR and execute C-r      search backwards in history C-p/C-n  browse history

Invocation
Bash shells start in one of two modes:

this executes ~/.bash_profile this executes ~/.bashrc
 * login shell
 * non-login shell

A remote login system like ssh uses bash_profile A non-interactive session like scp uses bashrc

My configuration has bashrc as a subset of bash_profile, using these lines in bash_profile:

if [ -f ~/.bashrc ]; then source ~/.bashrc fi
 * 1) include .bashrc if it exists