René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback
 

bash

'Startup' files

.profile

.profile contains bash commands. It is executed when bash is started as login shell, e.g. from the command bash --login. This is a useful place to define and export environment variables and bash functions that will be used by bash and the programs invoked by bash.
set -o vi

.bashrc

.bashrc is similar to .profile but is executed each time an interactive bash shell is launched. It serves to define elements that are not inherited through the environment, such as aliases
Note that .bashrc is not called automatically for login shells. You can source it from .profile

.inputrc

See readline.

....

shopt

shopt -s nocaseglob: allow bash to glob filenames in a case-insensitive manner.