FG
💻 Software

.profile not running when I start a bash terminal

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

Problem

When I start a bash terminal, my .profile is not being executed. I do not have a ~/.bash_profile or a ~/.bash_login, so .profile is supposed to run, right? What else could be wrong?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: .profile not running when I start a bash terminal

Low Risk

It's not a login shell. If a shell is a login shell, it will look for .bash_profile if it exists, then .profile. Other shells look for .bashrc So, you can put the things you want in every shell instance in .bashrc, and possibly have a reference that…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment