FG

running .bashrc versus new login

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

Problem

I added new alias into .bashrc Running .bashrc doesn't create that alias but new log in yes. Could you somebody explain why is that so and how I can test if the new .bashrc works without doing test log in?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: running .bashrc versus new login

Low Risk

"exec bash" should do it. Basically just restarts the bash shell, reading .bashrc in the process.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment