.bashrc

A file in your home directory that every new interactive bash reads at startup, used for aliases, functions and prompt settings.

In more detail

Scripts do not read it, so a script must not depend on anything defined there. Login shells read .bash_profile instead, which usually sources .bashrc so both kinds of shell get the same settings.

Related terms

Taught in

References