1.

Description of Objective Candidate should be able to customize shell environments to meet users’ needs. This objective includes setting environment variables (e.g. PATH) at login or when spawning a new shell. It also includes writing bash functions for frequently used sequences of commands. Key ﬁles, terms, and utilities include: ∼/.bash_profile — sourced when a person logs in ∼/.bash_login — sourced when a person logs in if no ∼/.bash_profile ∼/.profile —

sourced when a person logs in if no ∼/.bash_profile or ∼/.bash_login ∼/.bashrc — sourced when a non-login interactive shell starts ∼/.bash_logout — sourced when a person logs out ∼/.inputrc — allows a user to specify keystrokes for commands

Bash Conﬁguration Files
• When a user logs in to a bash shell the following conﬁguration ﬁles are usually executed: /etc/profile System wide proﬁle, common to all users and shells ∼/.bash_profile sourced after /etc/profile at login ∼/.bashrc sourced after ∼/.bash_profile at login