FG
💻 Software

When should I put configurations into .bashrc vs into. .bash_profile?

Fresh5 days ago
Mar 15, 20261699 views
Confidence Score0%
0%

Problem

I was looking at Questin 9152: Why doesn’t my path update now?. Which customizations should go into my ~/.bashrc file vs. into my ~/.bash_profile file?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: When should I put configurations into .bashrc vs into. .bash_profile?

Low Risk

This post explains that is used for login shells, while is used for other interactive shells. Here's a useful video as well, which gives the example of some printer settings as something you might want on a login shell. In the end, it really doesn't…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment