© Philip Kirkbride 2020
P. KirkbrideBasic Linux Terminal Tips and Trickshttps://doi.org/10.1007/978-1-4842-6035-7_14

14. Configure Bash

Philip Kirkbride1 
(1)
Montreal, QC, Canada
 

In this chapter, we’ll look at various configurations that can be made to bash. Often this is done by using configuration scripts that run when bash starts as well as other configuration files that control installed utilities or lower-level libraries like .inputrc.

Configuration Scripts

We’ll start with the three configuration files that are used for customizing bash directly. These include .bashrc_profile, .bashrc, and .profile.

.bashrc_profile or .profile

The .bashrc_profile configuration script is similar to .bashrc, but it only runs once when the user first logs in. On some ...

Get Basic Linux Terminal Tips and Tricks: Learn to Work Quickly on the Command Line now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.