FG

Bash not loading '.profile' in new session on Linux

Fresh3 days ago
Mar 15, 202674302 views
Confidence Score0%
0%

Problem

I'm setting up a new Linux machine I got from our IT dept, and noticed is not loaded when I start a new terminal session. The current shell is Bash, though I changed it from the default sh it came with. How do I make it load on startup? I access the shell via SSH: . I have administrator privileges …

Error Output

.profile

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Bash not loading '.profile' in new session on Linux

Low Risk

When Bash starts as an interactive login shell, one of the files it may process is . When it starts as an interactive non-login shell it doesn't. It processes (if that file or a similar file is enabled in your version of Bash) and . You could add th…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment