This chapter started by reviewing the two user interfaces provided by most Linux distributions: the command-line interface and the graphical user interface. I discussed the bash configuration files. I pointed out that there are two types of shells on a Linux system:
• Login shells
• Non-login shells
When running a login shell, /etc/profile is read first to initially configure the shell environment. The shell then searches for the following files in the user’s home directory in the following order:
The shell will read the first of these files found and use it to configure the shell environment for the current user. Different distributions will use different bash configuration files.
I then ...