BASH's init files

BASH's init files

Now when we know where configuration files are located, it might be interesting to take a look at the configuration for bash, the most common shell on Linux machines. There are, as there should be, a global and a user file; the global file named /etc/profile and the user file named .bash_profile (well, this is not completely true.. there is other files, .bashrc and .inputrc, but right now I won't deal with them..).

What is setup in the files ?

Environment variables such as PATH, PS1 and such.. aliases, umask and other mysterious things, perhaps some programs is run to do things you want to be executed at your login..