in “Bash Guide for Beginners”, it’s said:
Bash is the GNU shell, compatible with the Bourne shell and incorporating many useful features from other shells. When the shell is started, it reads its configuration files. The most important are:
/etc/profile
~/.bash_profile
~/.bashrc
however, in my ubuntu 11.10,
– there’s no “~/.bash_profile”: file explorer does not show it, and “ls -l ~/.bash_profile” says “No Such file or directory”
– there are “/etc/profile” and “~/.bashrc”, but they don’t show up in file explorer, only “ls -l /etc/profile” and “ls -l /.bashrc” shows the result.
is there something missing during my installation?
No, it’s fine if those files aren’t there, they’ll just be ignored. To get a complete list of what’s loaded and in what order, run
man bashand check the section on INVOCATION (use “/” and type in INVOCATION to search)Edit: saving @athos a man bash call 😉