more /etc/skel/{.bash_profile, .bashrc}
- .basrhc:
add to this file any shell settings that you want to keep:
aliases, path settings, shell variables (CVSROOT, PS1), or programs
that you want executed whenever you login.
more ~ijones/.bashrc
source ~ijones/.bashrc
#notice how the prompt changes, since I
#have a prompt set PS1 in my .bashrc.
.bash\_profile:
for login shells, should probably ``source ~/.bashrc''.
I don't really use this file, except to run my .bashrc.
- from the man page 'man bash':
FILES
/bin/bash
The bash executable #may be elsewhere
/etc/profile
The systemwide initialization file, executed for
login shells
~/.bash_profile
The personal initialization file, executed for
login shells
~/.bashrc
The individual per-interactive-shell startup file
~/.bash_logout
The individual login shell cleanup file, executed
when a login shell exits
~/.inputrc
Individual readline initialization file
- bash also uses .profile